updateButtonStyle = function(button, isActive) {
            var style = fullLayout.modebar;
            var childEl = button.querySelector('.icon path');
            if(childEl) {
                if(isActive || button.matches(':hover')) {
                    childEl.style.fill = style.activecolor;
                } else {
                    childEl.style.fill = style.color;
                }
            }
        }
Updates active button with attribute specified in layout
@Param {object} graphInfo plot object containing data and layout
@Return {HTMLelement}