finish the SettingWindow