Using Multiple Pushbuttons as Toggles

I included the % statement to perform that switch but it wasn't turning the opposite LED off, it might be wiring thing...

I had tried making manual adjustments to the "mycounter" values to do this but it would cause some weird flashing that would be a problem later on (Its driving a pretty heavy duty motor and for a 1 HP motor to try switch from forward to reverse at 1800 RPM might cause some gear shearing)

A quick question on state machines before I rewrite most of this, do you think it's still possible to include the 4th and 5th pushbuttons to start one of two seperate loops ("void Photocell" and "void Ultrasonic") or should I keep that as is?