MainMenuState (inactive) state switch code.