Put all of the menu handling code in View.