Make SettingsManager independent from ui