fix double click event
fix third click should register as a single click, 4th click as double click