Replace FragmentPagerAdapter with FragmentStateAdapter in
BrowseTabsAdapter.kt. Refactored getPageTitle as a function that
returns tab name. Tab text update moved to BrowseFragment.
This requires replacement of setupWithViewPager with
TabMediator.attach in BrowseFragment.
Also requires replacing widget declaration
androidx.viewpager.widget.ViewPager with
androidx.viewpager2.widget.ViewPager2 in fragment_browwse.xml.