     open var smallLabelSize: CGFloat = 20.0
     open var extraBottomViewSize: CGFloat = 0.0
     open var shouldAddButtonViewIcon: Bool = false
+    open var shouldChangeSelectedItemBackgroundColor: Bool = false
     
     var currentOrientationIsPortrait : Bool = true
     var pageIndexForOrientationChange : Int = 0

    case smallLabelSize(CGFloat)
    case extraBottomViewSize(CGFloat)
    case shouldAddButtonViewIcon(Bool)
    
}


                
                // Switch newly selected menu item title label to selected color and old one to unselected color
                if self.menuItems.count > 0 {
                    
                    if self.shouldChangeSelectedItemBackgroundColor {
                        self.menuItems[self.lastPageIndex].backgroundColor = UIColor.clear
                        self.menuItems[self.currentPageIndex].backgroundColor = self.selectedMenuItemLabelColor
                        self.menuItems[self.lastPageIndex].bottomArrowImage?.isHidden = true
                        self.menuItems[self.currentPageIndex].bottomArrowImage?.isHidden = false
                    } else if self.menuItems[self.lastPageIndex].titleLabel != nil && self.menuItems[self.currentPageIndex].titleLabel != nil {
                        self.menuItems[self.lastPageIndex].titleLabel!.textColor = self.unselectedMenuItemLabelColor
                        self.menuItems[self.currentPageIndex].titleLabel!.textColor = self.selectedMenuItemLabelColor
                    }
                }
            })
