public void SetSelectedItem(object selectedItem, IDataContext context = null)
 {
     if (!TabHost.IsAlive())
     {
         return;
     }
     if (selectedItem == null)
     {
         TabHost.CurrentTab = 0;
         if (TabHost.CurrentTabTag != null)
         {
             OnTabChanged(TabHost.CurrentTabTag);
         }
     }
     else
     {
         foreach (var pair in _tabToContent)
         {
             if (pair.Value.Item == selectedItem)
             {
                 if (TabHost.CurrentTabTag != pair.Key)
                 {
                     TabHost.SetCurrentTabByTag(pair.Key);
                 }
                 break;
             }
         }
     }
 }