Undo Last Action functionality added.