main menu, switching between ui states