Sets tab properties
Load carto lib for torque
CDB-817 #resolves We preserve the legend items of a CategoryLegend when enabling a CustomLegend