ADD: layerSwitch() now works.
It enables the user to switch to set a layer as an active.