Fix crash when menu button is pressed

@ryancarlson This will fix the menu button crash