change FragmentPagerAdapter to FragmentStatePagerAdapter to fixed the tab issues