interrupt buttons, code stops running sometimes

gfvalvo:
That will still be a rather poor user experience. The right way to do it is to unravel the blocking loops in the LED functions and make them state machines.

+1

...R