     var direction: Bool = true
     var previousValue: Int = 0
     var data: [ [ String : String ] ] = [ [ : ] ]
+    var formatter: NSNumberFormatter!
     
     override func viewDidLoad() {
         super.viewDidLoad()

        self.view.addSubview( self.navigationMenuButton )
        self.view.addSubview( sharingView )
        
        self.titleLabel.alpha = 0.0
        self.webView.alpha = 0.0
        self.customSlider.alpha = 0.0

                }
            }
            
            self.webView.buildFlowerWithParams( CGFloat( self.formatter.numberFromString( self.data[ self.index ][ "stress" ]! )! ), tiredness: CGFloat( self.formatter.numberFromString( self.data[ self.index ][ "tiredness" ]! )! ), mood: CGFloat( self.formatter.numberFromString( self.data[ self.index ][ "mood" ]! )! ) )
            
            self.activityView.header.title.text = self.data[ self.index ][ "header" ]
            self.activityView.etiquette.title.text = self.data[ self.index ][ "mainText" ]
