To undo or redo any action, just click the Undo or Redo buttons located on the top right hand side of the editor screen. Additionally you could use the short-cut keys: CTRL + Z - undo / CTRL + Y - redo