Ah yes, that would definitely cause issues. Unless you refresh NostrGram to load your latest list it will write the list you see in the Settings. When you're dealing with a decentralized network like Nostr you have to deal with things like that. So next time refresh NostrGram first, then check Settings to make sure your relay list is correct before updating the Settings.
Discussion
Gotcha. Seems like a UI issue to me, TBH. The other clients I've used have a button specifically for publishing updates to the relay list. Nostrgram has that baked in to updating any settings, which was certainly unexpected (for me).
Fair point. I'll see about adding code so it only pushes changes if a relay setting actually got changed.