         
         let calStr = Int(weight * distance * 0.001 * 1.036)
         caloriesLabel.text = String(calStr) + " kcal"
-        
     }
     
     func setupBackground() {
-        
         self.view.backgroundColor = UIColor.mrLightblueColor()
         let topGradient = UIColor(red: 0, green: 0, blue: 0, alpha: 0.60).CGColor
         let bottomGradient = UIColor(red: 0, green: 0, blue: 0, alpha: 0.40).CGColor

        
        return renderer
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
    
    @IBAction func closeAnalysis(sender: AnyObject) {
        TrackingManager.sharedManager.createTrackingEvent("record_result", action: "select_close_in_record_result")
        if isFromTable{

            self.dismissViewControllerAnimated(true, completion: nil)
        }
    }
}

