I'm building a custom ringtone selector for my app. The class is called `SoundPicker` and it extends `FragmentActivity`. What I'm trying to do is save the selected ringtone to my app's settings file.

Here is my code:

```
String selectedResource = "blablabla";
SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
SharedPreferences.Editor editor = sharedPref.edit();
editor.putStringSet("notifications_new_message", selectedResource);
editor.commit();

```

The problem is that I get an error, refering to the new string I'm trying to set - `selectedResource`

That's the error I get:

> 
> Wrong 2nd argument type. Found: 'java.lang.String', required:
>  'java.util.Set' 
> 
> 
> putStringSet (String, java.util.Set) in
>  Editor cannot be applied to (String, java.lang.String)
> 
> 
> 

What am I doing wrong here? Thank you!