Adds keyboard shortcuts for undo/redo