Added method to save user location in MainActivity.