your code is stuck/blocked in the delays as soon as you press the button
study blink without delay. a small state machine would be a good way to architect the code
your code is stuck/blocked in the delays as soon as you press the button
study blink without delay. a small state machine would be a good way to architect the code