Added Code for the onlcik event of the list view 

line 63 to 70