Though not deeply familiar with them, I would expect this to work:
SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
Set<String> selections = sharedPrefs.getStringSet("searchedCourses", null);
Toast.makeText(context, selections.get(0), Toast.LENGTH_LONG).show();
What behavior are you seeing?