@Override
    protected void onActivityResult(final int requestCode, final int resultCode, @Nullable final Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

        if (requestCode == REQUEST_CODE_LOG && resultCode == Activity.RESULT_OK && data != null) {
            ShareUtils.showLogPostedSnackbar(this, data, findViewById(R.id.location_status));
        }
    }
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