Modified[reduced LOC,click event binded with li at the time of li creation]