issue/1899-illegal-state-reader-pager

Fix #1899 - exception appeared to be caused by re-using the same adapter (mPagerAdapter) that was already assigned to the ViewPager, resulting in potential problems when attempting to restore the adapter's state. This PR prevents the problem by creating a new adapter when necessary, and  null-ing the previous adapter if one is assigned.