Moved debounce capacitor to behind the switch