Fix NullPointerException in MainMenuActivityTest.