Check to see if a menu is set before trying to show it