Changed code to work with double solenoid (kForward,kReverse...etc)