The 'android:key' is a String Preference and not an integer. Hence you should be using sharedPref.getString("KEY_LANGUAGE_SELECTION_LIST", "");
and not getInt
From the docs
Must be a string value, using '\;' to escape characters such as '\n' or '\uxxxx' for a unicode character.