Replaced the get GPSLocation into the asynctask.