@Override
    protected void onSaveInstanceState(@NonNull final Bundle outState) {
        super.onSaveInstanceState(outState);
        outState.putLong("initialPageId", initialPageId);
        outState.putBoolean("initialPageShown", initialPageShown);
        outState.putLong("currentPageId", currentPageId);
        outState.putLongArray("orderedPages", orderedPages);
    }
set if the pull-to-refresh gesture should be enabled for the displayed content
main/src/main/java/cgeo/geocaching/activity/TabbedViewPagerActivity.java