Increasing debounce to 1s, seems to work better (fixed #10)