changed of the button to the bar button item.