make sure that tools are taken from the application and not from the loaded map configuration, this change is taken from a more recent GeoExplorer version, this is only a partial fix since the checkboxes in the left tree are not up to date with the layers in the map, see #59