title: How to get access to back button in android?
body: <p>Can you please clarify me, what's the best practice for this example:</p>
  
  <p><strong>Activity1</strong> does INSERTS on SQLite and starts Activity2.</p>
  
  <p><strong>On Activity2</strong>, the user clicks on Back button and goes back to Activity1.
  But instead of making INSERT, I want to make UPDATE to the data on SQLite.</p>
  
  <p><strong>How do I control, that user "came" back?</strong></p>
  
  <p><strong>What's the best practice?</strong></p>