The intent solution cannot be updated in onrestart method

The Intent solution cannot be updated in the onRestart method
Override the change method in the Activity

protected void onNewIntent(Intent intent) {  
       super.onNewIntent(intent);  
       // must store the new intent unless getIntent() will return the old one  
       setIntent(intent);  
       }

Read More: