     
     // 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")
-//        }
-//    }
+    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


        addBarButton()
        
        let downSwipe = UISwipeGestureRecognizer(target: self, action: Selector("handleDownSwipe:"))
        downSwipe.direction = .Down
        downSwipe.delegate = self
        tableView.addGestureRecognizer(downSwipe)
        
        if let selectedAccount = selectedAccount {
            navigationItem.title = selectedAccount.name
        }
    }

    func reloadTransactions() {

        // Dispose of any resources that can be recreated.
    }
    
    func openQuickMode() {
        
        refreshControl?.endRefreshing()
        let dvc = self.storyboard?.instantiateViewControllerWithIdentifier("QuickVC") as! QuickViewController
        let nc = UINavigationController(rootViewController: dvc)
        self.presentViewController(nc, animated: true, completion: nil)
    }
    
    // MARK: Button
    
    func addBarButton() {
