private void refreshMapData(final boolean circlesSwitched, final boolean filterChanged) {
        if (circlesSwitched) {
            caches.switchCircles();
        }
        if (caches != null) {
            caches.invalidate();
        }
        if (null != trackLayer) {
            trackLayer.requestRedraw();
        }
        if (null != geoObjectLayer) {
            geoObjectLayer.requestRedraw();
        }

        if (filterChanged) {
            MapUtils.updateFilterBar(this, mapOptions.filterContext);
        }
    }
initialization with an empty subscription to make static code analysis tools more happy
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/NewMap.java