Undo changed values when user cancel the category editing