interrupt buttons, code stops running sometimes

thank you. i did not know about the RISING or FALLING options (i am still new to this)
also thanks for the >= idea. that makes a lot of sense

edit:
this seems to solve a lot of problems!

sometimes though i see something that looks like a single button press is interpreted as 2.
i am not familiar with debouncing a button yet - is this something that can help here?