Crash fix GPS No connection

app crash when sending gps data whitout connection FIXED