Changed from direct access of variable to calling function
Made listview items clickable