 
         if let image = info[UIImagePickerControllerEditedImage] as? UIImage {
             
+            self.shouldDeleteImage = false
+
             let urls = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)
             let url = urls[urls.count-1].URLByAppendingPathComponent("temp.jpg")
             UIImageJPEGRepresentation(image, 1)?.writeToURL(url, atomically: true)

        self.baby?.familyName = self.familyNameTextField.text
        self.baby?.sex = self.sexSegmentedControl.selectedSegmentIndex
        
        // If there is a temp image, delete "baby.imageName" and rename temp to "baby.imageName"
        let urls = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)
        let url = urls[urls.count-1].URLByAppendingPathComponent((self.baby?.imageName)!)
        do {
            try NSFileManager.defaultManager().removeItemAtURL(url)
        } catch {
            print(error)
        }
        
        let tempUrl = urls[urls.count-1].URLByAppendingPathComponent("temp.jpg")
        do {
            try NSFileManager.defaultManager().moveItemAtURL(tempUrl, toURL: url)
        } catch {
            print(error)
        }

        temporaryMoc?.performBlock({
            do {
                try self.temporaryMoc?.save()

                preferredStyle: .ActionSheet)
            
            let deleteAction = UIAlertAction(title: NSLocalizedString("PHOTO_DELETE", comment: "The title of the delete option when tapping the image thumbnail"), style: .Destructive, handler: { (action) in
                self.shouldDeleteImage = true

                // TODO: Use default image instead
                self.thumbnailImageView.image = nil
            })
            
            let cancelAction = UIAlertAction(title: NSLocalizedString("PHOTO_CANCEL", comment: "The title of the cancel option when tapping the image thumbnail"), style: .Cancel, handler: { (action) in
