code: private boolean shouldItemIconsBeShown() {
          SharedPreferences sharedPreferences =
                  PreferenceManager.getDefaultSharedPreferences(getActivity());
          String key = getString(R.string.show_item_icons_preference_key);
          boolean defaultValue =
                  getResources().getBoolean(R.bool.show_item_icons_preference_default_value);
          return sharedPreferences.getBoolean(key, defaultValue);
      }
docs: Returns, whether icons should be shown next to items, depending on the app's settings, or
  not.
  
  @return True, if icons should be shown next to items, false otherwise