Fixed bug with setting the navigation bar title