Fixed bug in Gpx Import

A mistake in code caused the app to force close in the GPX parser.
It works now

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>