Try setting the launchMode type of your MyActivity
as singleTop and then override the following method to look for the new intent:
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
setIntent(intent);
//now getIntent() should always return the last received intent
}