Button state change help

True as long as the "Serial.print" statements remain, but if they're removed there's no debounce provided. Debouce in the example is a lucky side-effect, not properly designed and planned.