Added synchronization to the TripleTapTouchListener