Fix the bottom action bar non-functional

For the latest version of AndroidX Fragments, the fragments' lifecycle change when switching the fragment by calling FragmentTransaction#replace().
It causes the bottom action bar non-functional.
We need to change our logic to fulfill the new behavior of Fragments.

Bug: 166304794
Change-Id: I313e248fcd8012b20741b3aaec7d36d43736a6d5
3 files changed