added double click listener to fix debounce