         self.refreshControl!.endRefreshing()
     }
     
-    func setBlankData() {
+    func presentBlank() {
         self.totalView?.backgroundColor = UIColor(colorLiteralRed: 0, green: 0, blue: 0, alpha: 0)
         self.totalLabel?.text = ""
+    }
+    
+    func presentData() {
+        dispatch_async(dispatch_get_main_queue(), {
+            self.tableView.reloadData()
+            
+            UIView.animateWithDuration(0.4, animations: {
+                self.totalView?.backgroundColor = self.colorForTotalCost()
+                self.totalLabel?.text = "Total: $\(self.costTotal())"
+            })
+        })
+
     }
     
     func colorForTotalCost() -> UIColor {

        self.refreshControl = UIRefreshControl()
        self.refreshControl!.addTarget(self, action: "refresh:", forControlEvents: UIControlEvents.ValueChanged)
        
        self.setBlankData()
        self.loadInitialData()
        
        // Uncomment the following line to preserve selection between presentations

                if let json = data {
                    let str = try NSJSONSerialization.JSONObjectWithData(json, options: NSJSONReadingOptions.AllowFragments)
                    self.purchases <-- str
                    self.presentData()
                }
            } catch _ {
            }
        })!.resume()
    }
    
    override func viewDidLoad() {
