title: How to get Up Navigation behavior exactly like back button pressed
body: <p>How can I get the Up Navigation button to behave like the back button? When I press the back button all my previous activities remain as the were prior.
  When I press the up button my activities return to initial state. I tried hooking up onBackPressed(); to case R.id.home on my onOptionsItemSelected but it still behaves differently.</p>
  
  <p>Visual: 
  Back Button Behavior-
  <a href="https://www.flickr.com/photos/151974643@N07/35702817566/in/dateposted-public/" rel="nofollow noreferrer">https://www.flickr.com/photos/151974643@N07/35702817566/in/dateposted-public/</a> Up Button Behavior - <a href="https://www.flickr.com/photos/151974643@N07/35702812926/in/dateposted-public/" rel="nofollow noreferrer">https://www.flickr.com/photos/151974643@N07/35702812926/in/dateposted-public/</a>
  Any help would be appreciated. Thank you!</p>