Implemented methods to clean up the construction of the MapToolbar.