add click event to the menu items