Handle offline mode in the tab list