added menu item selection (to be fixed in the future)