code: private void initializeHideNavigation(final SharedPreferences sharedPreferences) {
          String key = getString(R.string.hide_navigation_preference_key);
          boolean defaultValue =
                  Boolean.valueOf(getString(R.string.hide_navigation_preference_default_value));
          boolean hideNavigation = sharedPreferences.getBoolean(key, defaultValue);
          hideNavigation(hideNavigation);
      }
docs: Initializes, whether the navigation should be hidden, or not.
  
  @param sharedPreferences
  The shared preferences, which should be used, as an instance of the type {@link
  SharedPreferences}