clicking a list item logs its info