Changed click behavior.

Added new click for click count reset. Exchanged meaning of double click
and long click.