title: android application always opens default home page when application comes in foreground
body: <p>I have 15-20 activities in my application. I want when user clicks on the icon of my app on the homepage and the app is running in the background, user should always see the default screen. However, as per default android behavior users see the last screen that appeared before the application goes in background.
  I also do not want to lose the back feature capability. Is there any way to know if user is navigating in the same application or user has switched to other application and coming back to my app.
  I know we can use onpause()  etc for this kind of thing but I have 15 activities and I want to do this change at one place and do not want to lose back button functionality?</p>