private void updateNorthHeading(final DirectionData dir) {
        if (binding.rose != null) {
            binding.rose.updateNorth(dir.getDeviceOrientation() == DirectionData.DeviceOrientation.UPRIGHT ?
                    dir.getDirection() : AngleUtils.getDirectionNow(dir.getDirection()), cacheHeading);
        }
    }
refresh GUI elements which can be changed e.g. after a new configuration was issued (e.g. turning from portrait into landscape and vice versa
main/src/main/java/cgeo/geocaching/CompassActivity.java