tates[i].icon, newState.stateName + '-active');
                         }

                         // update classes for animations
                         L.DomUtil.removeClass(this.button, this._currentState.stateName + '-active');
                         L.DomUtil.addClass(this.button, newState.stateName + '-active');

                         // update the record
                         this._currentState = newState;

                     }
                 },



                 enable: function()