handled 'animated' parameter in SetOn() in CCControlSwitch