Fixed the tab navigation issue.