Interrupt still happening after detached. ( fix now available)

Having played with interrupts some, and while not an expert by far, my advice is to simply not use detachInterrupt(0);, as there are better ways to structure your program then rely on it.

It's not unlike using Serial.flush, while it may have a rare useful purpose once and a while, it almost always is either mistake to use or comes with side effects.

Lefty