Remove bug in SettingsDialog