Create visibility property in CategoryLayers

Create visibility property in CategoryLayers and set it in setLayerVisibility method