Added keyboard shortcut to undo function

Ctrl Z to undo