Added debouncing for buzzer