Don't save the change until we successfully process the message, but make it first so that the user sees the error disappear when the new key is accepted. // FREEBIE