Prevent accidental double click