Add callback to layerMenu