         let buttonInvitationOnly:UIButton = UIButton()
         buttonInvitationOnly.translatesAutoresizingMaskIntoConstraints = false
         buttonInvitationOnly.clipsToBounds = true
-        buttonInvitationOnly.setImage(#imageLiteral(resourceName: "roomAccessInvitationOnly"), for:UIControlState.normal)
+        buttonInvitationOnly.setImage(
+            #imageLiteral(resourceName: "roomAccessInvitationOnly").withRenderingMode(UIImageRenderingMode.alwaysTemplate),
+            for:UIControlState.normal)
         buttonInvitationOnly.imageView!.contentMode = UIViewContentMode.center
         buttonInvitationOnly.imageView!.clipsToBounds = true
         buttonInvitationOnly.layer.cornerRadius = kCornerRadius

        
        super.layoutSubviews()
    }
}

    weak var buttonFreeJoin:UIButton!
    weak var model:MHomeItemAccess!
    weak var layoutButtonsLeft:NSLayoutConstraint!
    private let colorNotSelected:UIColor
    private let buttonsTotalWidth:CGFloat
    private let kLabelsHeight:CGFloat = 20
    private let kLabelsWidth:CGFloat = 105
