fix the bug when re-set ViewPager's adapter with fragments