Made RCSwitch's delegate a property so that it can be set programatically.