sent title to the navigation bar