Changed the handeling of menu presses to enums.