title: What method is executed on Up button pressed
body: <p>I implemented a <code>PreferenceActivity</code> and I allow the user to change the theme of the app. When the switch for that setting is flipped, initially nothing happens.</p>
  
  <p>When the <code>Up button</code> is pressed, I am taken to the parent activity and it reloads the theme to use the new theme. However, if I'm still in the <code>SettingsActivity</code> and press the <code>Back</code> button, I get back to the MainActivity but the new theme is not applied. I suppose <code>MainActivity</code> doesn't reload <code>onCreate()</code> in that case.</p>
  
  <p>I would like to <code>override the Back</code> button's behaviour in that <code>SettingsActivity</code> only and I know how to, but I don't know what method to execute in order to imitate the <strong>Up button pressed</strong> behaviour.</p>
  
  <p>Any ideas?</p>