[#97] Fix menu invalidation bug

* Use the Tab index instead of the ViewPager one