Added missing saveSettings()