doubleclick handler

Handles double clicking the application