Added onClick listener to item list