@Override
 protected void initStates() {
   super.initStates();
   initLanguagesAdapter();
   initLanguagesFilter();
   initListView();
 }
 @Override
 public void finish() {
   Intent data = new Intent();
   data.putExtra(SELECTED_LANGUAGE_KEY, selectedLanguage);
   int result = selectedLanguage == null ? RESULT_CANCELED : RESULT_OK;
   setResult(result, data);
   super.finish();
 }