How to always start an App from the main activity, even after being closed using the home button from sync settings
<p>The scenario:<br>
My app turns toggles the wifi state when a button is pressed and then exits the app. If background data is enabled when the wifi is being disabled, then the app allows the user to disable the bg data by starting the Sync Settings activity
    startActivity(new Intent(Settings.ACTION_SYNC_SETTINGS));<br>
This works great except that when the user returns to the home screen from the sync settings activity by pressing the home button, the app will still show the sync settings when reopened, and not the main activity.</p>

<p>What can I do so that anytime my app is opened it starts on the main activity, no matter how or where it was closed?</p>
