added action performed method for the MainMenuPanel