Undo
The undo button (or its shortcut <ctrl-z>) will undo any last change if possible.
The undo-button becomes active after any change.
Undo is possible on during edit, as well as on the the main screen, where it can undo actions like layout change.