Added undo, redo functionality and buttons icons