Solved (I hope, I couldn't test it!) the database leak bug.
Added the distance computation, the correspondent field to the database and the method getTotalLength() in class GPSDatabase.
Added "Start" and "End" markers to SummaryActivity map;
Implemented the route deleting when coming back to MapsActivity.
 Minor method improvements.