Added the undo option to the menu