     
     open weak var delegate: FlatPickerViewDelegate? {
         didSet{
+            setupPickerSelectionView()
             collectionView?.reloadData()
         }
     }

        let trailling: NSLayoutConstraint = NSLayoutConstraint(item: highlightedView, attribute: NSLayoutAttribute.trailing, relatedBy: .equal, toItem: self, attribute: NSLayoutAttribute.trailing, multiplier: 1, constant: 0)
        let centerVertical: NSLayoutConstraint = NSLayoutConstraint(item: highlightedView, attribute: NSLayoutAttribute.centerY, relatedBy: .equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
        let height: NSLayoutConstraint = NSLayoutConstraint(item: highlightedView, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: itemSize)
        height.priority = 750
        highlightedView.addConstraint(height)
        let contraints = [leading, trailling, centerVertical]
        contraints.forEach({

        //Setting default direction
        direction = .vertical
        setupPickerSelectionView()

    }
    
    
