Remove FmPagerAdapter and do refactor.
Several changes.

1. Change commitAllowStateLoss to commit.
2. Add logs for debug.
3. Update “mIsPrimary” before “performUserActive()” &
“performUserLeave()”.