Android after clicking on AdMob ad back button not returning to right Acitvity
<p>I have an application with "Main menu" Activity. From there user can go to Activity1 or Activity2. In Activity1 in have AdMob ads loaded programmaticaly, in Activity2 they are loaded automaticaly from xml file. Problem is that after clicking on ad and loading it in Activity1 when I click back button I get returned back to Main menu instead of Activity1. In Activity2 returning back works like it supposed to. Why is that? Code in Activity1 that is relevant to ads:</p>

<pre><code>public class Activity1 extends Activity implements OnClickListener, AdListener{
    AdView ads;

    public void onReceiveAd(Ad ad) {}
    public void onFailedToReceiveAd(Ad ad, AdRequest.ErrorCode error){}

    public void onPresentScreen(Ad ad){}
    public void onDismissScreen(Ad ad){}
    public void onLeaveApplication(Ad ad){}
    ...

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);
        ads.setAdListener(this);
        ads.loadAd(new AdRequest());
    }

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ...
        ads = (AdView) findViewById(R.id.adView);
        ads.setAdListener(this);
        ads.loadAd(new AdRequest());
    }
}
</code></pre>
