cleaned up code in GpsTrackerActivity