title: SearchView onQueryTextSubmit - strange issue
body: <p>I have a strange issue. Only thing  when the text in the SearchView is submitted,i just want to do move to another Activity. But what actually happens here,when i submit it,  near around  1 to 5 sec it  starts the main Activity again. I've tried to put that Intent somewhere else and it works well. </p>
  
  <p>Do you have any idea, how to solve this?</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>part of MainActivity (I use ActionBar tabs btw ...Sherlock)</strong></p>
  
  <pre><code>@Override
      public boolean onPrepareOptionsMenu(Menu menu) {
  
          super.onPrepareOptionsMenu(menu);
  
  getSupportMenuInflater().inflate(R.menu.main, menu);
  
          SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
          SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
          if (null != searchView )
          {
              searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
  
          }
          SearchView.OnQueryTextListener queryTextListener = new SearchView.OnQueryTextListener() 
          {
              public boolean onQueryTextChange(String newText) 
              {
  
                  return true;
              }
  
              public boolean onQueryTextSubmit(String query) 
              {
                  Log.v("tag", "submited");
  Intent intent = new Intent(getApplicationContext(), SearchActivity.class);
                  intent.putExtra("null", "null");
                  startActivity(intent);
  
                  return true;
  
              }
          };
          searchView.setOnQueryTextListener(queryTextListener);
  
  int currentItem = mPager.getCurrentItem();
              if(currentItem == 0){
                  menu.findItem(R.id.action_refresh).setVisible(false);
                  menu.findItem(R.id.action_search).setVisible(true);
                  menu.findItem(R.id.action_overflow).setVisible(false);
              }
              else if(currentItem == 1) {
                  menu.findItem(R.id.action_refresh).setVisible(true);
                  menu.findItem(R.id.action_search).setVisible(false);
                  menu.findItem(R.id.action_overflow).setVisible(false);
              }
              else if(currentItem == 2) {
                  menu.findItem(R.id.action_refresh).setVisible(false);
                  menu.findItem(R.id.action_search).setVisible(false);
                  menu.findItem(R.id.action_overflow).setVisible(true);
              }
                   return true; }
  </code></pre>
  
  <p><strong>AndroidManifest</strong></p>
  
  <pre><code>&lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.animalist.MainActivity"
              android:label="@string/app_name"
              android:screenOrientation="portrait" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.SEARCH" /&gt;
              &lt;/intent-filter&gt;
  
               &lt;meta-data
              android:name="android.app.default_searchable"
              android:value=".SearchActivity" /&gt;
  
              &lt;meta-data
                  android:name="android.app.searchable"
                  android:resource="@xml/searchable" /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.animalist.MoreActivity"
              android:label="@string/title_activity_more"
              android:parentActivityName="com.example.animalist.MainActivity"
              android:screenOrientation="portrait" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.example.animalist.MainActivity" /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.animalist.SearchActivity"
              android:label="@string/title_activity_search"
              android:parentActivityName="com.example.animalist.MainActivity" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.example.animalist.MainActivity" /&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>