fixing things

made some changes to make the menu have the buttons and added in a check to make sure the items clicked are on the menu