I am using UIManagedDocument for my document-based app, and when I delete the document that is opening and the app crashes. What should I do?