Simple enough right :)

I hope it helps you understand how you can implement single-click and double-click at the same time.