             historyVC.setHistory(history)
         }
     }
+    
+    
+    // MARK: - IBActions
+    @IBAction private func ateSmallMeal() {
+        self.createMeal(type: .Small)
+        self.presentHistory()
+    }
+    
+    @IBAction private func ateMediumMeal() {
+        self.createMeal(type: .Medium)
+        self.presentHistory()
+    }
+    
+    @IBAction private func ateLargeMeal() {
+        self.createMeal(type: .Large)
+        self.presentHistory()
+    }
+    
+    @IBAction private func seeHistory() {
+        self.presentHistory()
+    }
+    
     
 
     // MARK: - WCSessionDelegate

class TrackVC: UIViewController, WCSessionDelegate {
    private var dataController: DataController!
    private let session = WCSession.defaultSession()
    
    func setDataController(dataController: DataController) {
        self.dataController = dataController;

        self.session.activateSession()
    }
    
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        let nc = segue.destinationViewController as! UINavigationController
        if let historyVC = nc.viewControllers.first as? HistoryVC {
