Reset context after save instead of trying to refresh objects
Do not reset the context unless a save was successful