I tried your code and my serial monitor stays completely blank. No machine on or off when power is applied to pin 4. Is this because the way you wrote it looks for (2) conditions to be true for it to say "machine on"? or is the second debounce if statement holding it up?