Fixing bug in set_nav_bar button methods