add list selected listener and menu item clicked action listener