Fix for #135 When tab is changed to the portalpanel we should update the layer loading spinner.
Problem was that if layer is loaded while the map panel isn't showing then the layerloading message isn't properly hidden.