         mainStack.sendSubviewToBack(blurredEffectView)
         mainStack.axis = .Vertical
         mainStack.spacing = 2
+        
         mainStack.translatesAutoresizingMaskIntoConstraints = false
         
         self.addSubview(mainStack)

        let stackTopConstraint = NSLayoutConstraint(item: mainStack, attribute: .Top , relatedBy: .Equal, toItem: mainStack.superview, attribute: .Top ,  multiplier: 1, constant: 0)
        //let stackWidthConstraint = NSLayoutConstraint(item: mainStack, attribute: .Width , relatedBy: .Equal, toItem: mainStack.superview, attribute: .Width ,  multiplier: 1, constant: 0)
        
        let stackLeftConstraint = NSLayoutConstraint(item: mainStack, attribute: .Left, relatedBy: .Equal, toItem: mainStack.superview, attribute: .LeftMargin, multiplier: 1, constant: 8)
        
        let stackRightConstraint = NSLayoutConstraint(item: mainStack, attribute: .Right, relatedBy: .Equal, toItem: mainStack.superview, attribute: .RightMargin, multiplier: 1, constant: 8)
        
        //let stackHorizontalConstraint = NSLayoutConstraint(item: mainStack, attribute: .CenterX, relatedBy: .Equal, toItem: mainStack.superview, attribute: .CenterX, multiplier: 1, constant: 0)
        
        let stackHeightConstraint = NSLayoutConstraint(item: mainStack, attribute: .Height , relatedBy: .GreaterThanOrEqual, toItem: nil, attribute: .Height ,  multiplier: 1, constant: 50)
        
        
        self.addConstraints([stackTopConstraint, stackBottomConstraint, stackHeightConstraint, tintLineHeightConstraint, stackLeftConstraint, stackRightConstraint, labelLeftConstraint, labelRightConstraint])
    }
    
    override init(frame: CGRect) {

        
         // Define constraints for UILabel.
         //let labelHorizontalConstraint = NSLayoutConstraint(item: labelButtonStack, attribute: .CenterY, relatedBy: .Equal, toItem: nil, attribute: .CenterY, multiplier: 1, constant: 0)
         //let labelLeftConstraint = NSLayoutConstraint(item: label, attribute: .Leading, relatedBy: .Equal, toItem: mainStack, attribute: .LeadingMargin, multiplier: 1, constant: 8)
         //let labelRightConstraint = NSLayoutConstraint(item: label, attribute: .Trailing, relatedBy: .Equal, toItem: mainStack, attribute: .TrailingMargin, multiplier: 1, constant: 8)
 
        
        // Define constratints for StackView
