Updating the nav bar buttons when the vc becomes visible