Create a separate variable for doubleClick timing

Solves #8