code: private void initializeNavigationWidth(final SharedPreferences sharedPreferences) {
          String key = getString(R.string.navigation_width_preference_key);
          String defaultValue = getString(R.string.navigation_width_preference_default_value);
          int width = Integer.valueOf(sharedPreferences.getString(key, defaultValue));
          setNavigationWidth(dpToPixels(this, width));
      }
docs: Initializes the width of the navigation.
  
  @param sharedPreferences
  The shared preferences, which should be used, as an instance of the type {@link
  SharedPreferences}