settingsstate and mainmenustate