fix debouncing
Merge pull request #3 from WickyNilliams/fixed-debouncing

fix debouncing