added functionality to change the map title