Multiple Blink States with a button no delay

PaulS:

The code presented has an initial state of the LED off, then you press the button and the LED starts blinking, the button is pressed once more and the LED returns to the initial state. The setup is correct; that information is given by the lab manual.