[Android] Also update the config if the settings activity gets paused.