Convert post task async task object from a local variable to a field variable so that it can be used by other functions
Override the onStop method of the post status update activity with a stub function
Add logic to the activity's onStop event handler method to force stop the async task if the post status activity is terminated
Create a preferences XML file
Add username edit text to preferences resource file
Add password to the preferences resource
Create a basic PreferencesActivity class
Override the onCreate method
Load the preferences from the resource file

Make use of the deprecated function to do this for now to keep the example simple
Temporarily change the manifest to verify the settings work

Temporarily modify the android manifest to launch our settings activity instead of our main activity just to verify that our preferences actually work