Refactor `SettingsMenuState`