Added some logic to detect two time clicks. Still need to add timing calculation.