fixed broken gpx loading
added offline/online button