Update PTViewController.m

modified click detection code