private void UpdateTabItem(int index)
 {
     if (index == 1)
     {
         AgentStates.Clear();
         tempAgents.ToList().ForEach(x => { if (!x.DefaultName.Equals("Buttons"))
                                            {
                                                AgentStates.Add(x);
                                            }
                                     });
         Hide          = tempAgents.FirstOrDefault(p => p.DefaultName == "Buttons");
         HideOrDisable = Hide.Name.Equals("true", StringComparison.OrdinalIgnoreCase) ? true : false;
     }
 }