Set the toolbar's barTintColor based on the navigation bar.