fixed the null pointer activity exception in GPSWrapper when start the service