Adding DoubleClick functionality