Fixed the enabling and disabling issue that caused the need for a reboot. Changed the relayControl() method.