added toggleUndoButton() enabled