Change layerswitcher code