Trigger showTab when tab view is switched