Implemented nav_bar_button class method