title: Android recreate Fragment onBackPressed
body: <p>I have two activities and one fragment in my app. The first activity, <code>MainActivity</code>, is used to hold the fragment. It contains an <code>ActionBarSherlock</code> <code>ActionBar</code> and the fragment, <code>WFrag</code>. <code>WFrag</code> opens up the second activity, <code>SettingsActivity</code>, when you press a button. In <code>SettingsActivity</code>, you can choose settings that affect the behavior of <code>WFrag</code>. Naturally, I want the <code>onBackPressed()</code> method to go back to <code>WFrag</code> and update it with the user's new settings. My question is: how do you make it so that when you go back (via the back button) from <code>SettingsActivity</code>, you recreate (call <code>onCreate()</code> again) <code>WFrag</code>?</p>