code: @SuppressLint("CommitPrefEdits")
    public void set(float value) {
      // Method created in an attempt to avoid unnecessary autoboxing
      Editor editor = getPreferences().edit().putFloat(getKey(), value);
      PREF_SAVER.save(editor);
    }
docs: Set the value for the preference