CS185 Android app using intents, shared preferences, and gps location manager