anchor.diff:                      value: $this.prop('checked')
                   };
   
  -                var nextStateValue = stateMachine.nextState(data.name, data.value);
  +                var nextStateValue = StateHolder.nextStateValue(data.name, data.value);
                   $this.parent().next().text(nextStateValue);
   
  -                $('.alert.alert-danger').hide();
  +                if (data.name === 'metricCollection') {
  +                    $('.alert.alert-danger').hide();
  +                }
   
                   $.get("mskSwitchKillSetting", data).always(function () {
                       $this.data('switchery').enable();
  
positive.code:                     }
                  };
  
                  var nextState = function (transitionName, currentState) {
                      var currentStateStr = currentState ? 'enabled' : 'disabled';
                      return transitions[currentStateStr][transitionName];
                  };
  
                  return {
                      nextState: nextState
                  };
              })();
  
  
negative.code:                 $(el).data('switchery', switchery);
              });
  
              var StateHolder = (function () {
                  var values = {
                      enabled: {
                          metricCollection: 'Enable metric collection',
                          tracing: 'Enable tracing'
  