     }
 }
 
-extension AccountDetailViewController: UIViewControllerTransitioningDelegate {
-    
-    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
-        if segue.identifier == "QuickMode" {
-            let toViewController = segue.destinationViewController as! UINavigationController
-            toViewController.transitioningDelegate = self
-            customPresentAnimationController.animationType = CustomSegueAnimation.SwipeDown
-            customDismissAnimationController.animationType = CustomSegueAnimation.SwipeDown
-        } else {
-            // Edit transaction
-            let vc = segue.destinationViewController
-            
-            if vc is AddTransactionViewController {
-                let addTransactionViewController = vc as! AddTransactionViewController
-                
-                var indexPath: AnyObject!
-                indexPath = tableView.indexPathForCell(sender as! UITableViewCell)
-                
-                addTransactionViewController.selectedTransaction = sampleTransactions[indexPath.section][indexPath.row]
-                print("pass selectedTransaction to AddTransactionView: \(addTransactionViewController.selectedTransaction))", terminator: "\n")
-            }
-        }
-    }
-    
-    func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
-        return customPresentAnimationController
-    }
-    
-    func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
-        return customDismissAnimationController
-    }
-}+//extension AccountDetailViewController: UIViewControllerTransitioningDelegate {
+//    
+//    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
+//        if segue.identifier == "QuickMode" {
+//            let toViewController = segue.destinationViewController as! UINavigationController
+//            toViewController.transitioningDelegate = self
+//            customPresentAnimationController.animationType = CustomSegueAnimation.SwipeDown
+//            customDismissAnimationController.animationType = CustomSegueAnimation.SwipeDown
+//        } else {
+//            // Edit transaction
+//            let vc = segue.destinationViewController
+//            
+//            if vc is AddTransactionViewController {
+//                let addTransactionViewController = vc as! AddTransactionViewController
+//                
+//                var indexPath: AnyObject!
+//                indexPath = tableView.indexPathForCell(sender as! UITableViewCell)
+//                
+//                addTransactionViewController.selectedTransaction = sampleTransactions[indexPath.section][indexPath.row]
+//                print("pass selectedTransaction to AddTransactionView: \(addTransactionViewController.selectedTransaction))", terminator: "\n")
+//            }
+//        }
+//    }
+//    
+//    func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+//        return customPresentAnimationController
+//    }
+//    
+//    func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+//        return customDismissAnimationController
+//    }
+//}
        // Dispose of any resources that can be recreated.
    }
    
    // MARK: Button
    
    func addBarButton() {

    
    // MARK: Transfer between 2 views
    
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        
        let vc = segue.destinationViewController 
        
        if vc is AddTransactionViewController {
            let addTransactionViewController = vc as! AddTransactionViewController
            
            var indexPath: AnyObject!
            indexPath = tableView.indexPathForCell(sender as! UITableViewCell)

            addTransactionViewController.selectedTransaction = sampleTransactions[indexPath.section][indexPath.row]
            print("pass selectedTransaction to AddTransactionView: \(addTransactionViewController.selectedTransaction))", terminator: "\n")
        }
    }
}

// MARK: Table view
