Switch with different delays

The code still has a delay(...) that will keep it from responding to a change in pin 10.