Figure out what was clicked in the list