Made corrections to onItemClick