After restoring data, the app crashes or does not contain what I expect.