Changed type of nav-bar buttons to button