Fixes undo/redo icon initialization.
Merge pull request #777 from RotaruDan/undoRedoFix

Fixes undo/redo icon initialization.