Error with onClick
Done till infinite scrolling