Updated to use goToMainMenu