Preventing an app from exiting immediately?
<p>How can I prevent an application from exiting immediately? If the user press the home button while the application is saving a picture to the photo album, only a part of the picture is saved!</p>

<p>Thanks! </p>
