Setting the bar button programatically to change the title