Added method getSavedLocation() in MainActivity.