FIX: metadata changes are now saved when the back button is pressed instead of being lost