Implement double clicking, fix duplicate event bug.