I have very simple spinnser in which i am showing two value 1=> English 2=> Hebrew

and i restart the whole activity (To change UI) on selecting any value from the spinner but the problem is my activity is only restarting for case 1 only please help me to figure out the problem.

**Here is the code that i am using**

```
languageSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
            @Override
            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {

                if (!isFistLaunch) {

                    String email = mEmailEditText.getText().toString();
                    String pass = mPasswordEditText.getText().toString();
                    Intent intent = new Intent(MainActivity.this, MainActivity.class);
                    intent.putExtra("typed_email", email);
                    intent.putExtra("typed_pass", pass);
                    mUserSession.setUserLanguage(lang[position]);
                    Toast.makeText(MainActivity.this, "Spinner position = " + position, Toast.LENGTH_SHORT).show();
                    startActivity(intent);
                    MainActivity.this.finish();

                } else {
                    isFistLaunch = false;
                }
            }

            @Override
            public void onNothingSelected(AdapterView<?> parent) {

            }
        });

```

I also put a toast in side it but it only shows for one time... 

**Spinner working exactly as i want but only on my device. all of the other devices doesn't show any toast for Hebrew language. They only show Toast for English language.**

can anybody tell me what is the problem here? Thanks