integrated the bar button items and added additional views