Added functionality to pre-select base layers by setting selected=true on the XML files