Set device / platform to old state when editing is cancelled
Closes #19 (closed)
Goal of this MR:
When a device / platform is edited, a deep copy of the object to edit is stored. When the user cancels this action, the copy is used to restore the original state.