Fix bug while adding new files to other than gpx categories.