Make sure ViewPager is available before telling the Activity we have a menu.