Mostly true. The idea here is, users would like to turn on/off airplane mode (which is the user preference), If it success, we store it in mozSettings, so that we can keep the setting when reboot. If it fails, we don't change the settings.

If it is 100% user preference, we set the setting in the first place. If we fail to change the hardware state, we must keep trying until the state matches user preference. I think it is not our intention...