Blinking 3 LED's with one button using mills instead delays

See if this explains it better for you State Machine