Corrected error in constructor on MainMenu class