Changed Activity into Fragment for MainActivity ViewPager.