Fixed a bug in the setLedStatus method

Fixed a bug with the setLedStatus method that would not allow the
lights to be turned off.