Add Click event

Add click event
Change NSIndexPath to NSInteger