Changed nav bar and adjusted the table view