- modified TabPageAdapter to extends FragmentPagerAdapter