Added setCircuitState(). Changed getCurrentState() name to
getCircuitState()