             self.imagePickerController.delegate = self
             self.imagePickerController.sourceType = UIImagePickerControllerSourceType.Camera
             
-            self.selectedComic = self.comics[indexPath.row]
+            self.selectedIndex = indexPath
             
             self.presentViewController(self.imagePickerController, animated: true) {}
         }

    // MARK: UIImagePickerControllerDelegate
    func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage, editingInfo: [String : AnyObject]?) {
        
        self.dismissViewControllerAnimated(true) {}
    }
}
    var dataSource: ArrayDataSource!
    var configureCell: ConfigureCell!
    var comics: [Comic] = []
    let fileImageManager = FileImageManager()
    
    var selectedIndex: NSIndexPath!
    var customCovers = [String]()
    let imagePickerController = UIImagePickerController()
    
    var fetchingData = false
