Fixnullpointer

This fixes the null pointer we currently get in MainMenuActivityTest