To undo or redo any action, just click the Undo or Redo buttons located on the top right hand side of the screen


Additionally you could use the shortcut keys:

CTRL + Z - undo

CTRL + Y - redo