fix bug on MainActivity.refreshViewPager()