     }
     
     func photoViewController(photoViewController: PhotoViewController, didUpdateImage image: UIImage) {
-        let photoCell = self.tableView.cellForRowAtIndexPath(NSIndexPath(forRow: 0, inSection: 2)) as? PhotoCell
+        let photoCell = self.tableView.cellForRowAtIndexPath(NSIndexPath(forRow: 0, inSection: 3)) as? PhotoCell
         if let photoCell = photoCell {
             photoCell.photoView.image = image
         }

                    photoVC.delegate = self
                }
            }
            
        }
    }
    

    func tapMoreCell(sender: UITapGestureRecognizer) {
        isCollaped = false
        
        selectedTransaction?.note = noteCell?.noteText.text
        let amountDecimal = NSDecimalNumber(string: amountCell?.amountText.text)
        
        if amountDecimal != NSDecimalNumber.notANumber() {
            selectedTransaction?.amount = amountDecimal
        }
        
        UIView.transitionWithView(tableView,
            duration:0.5,
