The code itself is fine. All I need is disabling the lights if they are blinking, and setting buttonCount to 0