You can undo or redo a previous editing operation by clicking the undo/redo buttons on the top of the designer surface.