optimized switch to MainMenu