Refactoring MainActivity: discarding ViewPager.