Proble was cause by wrong extras. Replace method
private void chooseLanguage(int i) {
int which = i;
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
supportedLanguages[which]);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,
supportedLanguages[which]);
Log.d("Languages choosen", supportedLanguages[which]);
startActivityForResult(intent, 300);
}