Added a lifecycle component to recordTrail
Passed the selected name from MainActivity to MapActivity, which now accepts a name String from Intent
This name String will be used to generate the trail on the map