Only reset if save successful