Added the service call for setting the activated or deactivated state