             self.sliderHigherLabel.alpha = 0
             self.deviceIdLabel.alpha = 0
         }) { (done: Bool) -> Void in
-            self.updateSliderLabels(false)
+            self.updateSliderLabels()
             
             self.graphView.reloadGraph()
             

        minIndex = Int(slider.lowerValue)
        maxIndex = Int(slider.upperValue)
        
        updateSliderLabels(true)

        var timer = NSTimer.scheduledTimerWithTimeInterval(0.01, target: graphView, selector: Selector("reloadGraph"), userInfo: nil, repeats: false)
    }
    
    private func updateSliderLabels(updateDetail: Bool) {
        if numberOfPointsInLineGraph(graphView) > 0 {
            let minIndex = realIndexForIndex(0)
            let maxIndex = realIndexForIndex(numberOfPointsInLineGraph(graphView) - 1)

            attrString = NSMutableAttributedString(string: str)
            attrString.addAttribute(NSFontAttributeName, value: fontBold!, range: NSRange(location: 0,length: str.utf16Count - 6))
            attrString.addAttribute(NSFontAttributeName, value: font!, range: NSRange(location: str.utf16Count - 5,length: 5))
            sliderHigherLabel.attributedText = attrString            
        }
    }
    
