fixed editMode in SettingsViewController