Added undo button

Click button to undo actions in the layout editor