/// <summary>
        /// Method to update the alert
        /// </summary>
        public void UpdateAlerts()
        {
            var          childrens     = CurrentPage.ListAlerts.Children;
            List <Alert> updatedAlerts = new List <Alert>();

            foreach (Card chidren in childrens)
            {
                Grid grid = chidren.Content as Grid;

                if ((grid?.Children[1] as Grid)?.Children[0] is CheckBox checkBox)
                {
                    var id    = int.Parse(checkBox.Name.Split('_')[1]);
                    var alert = Alerts.First(x => x.Id == id);
                    if (checkBox.IsChecked != null)
                    {
                        alert.IsDismiss = (bool)checkBox.IsChecked;
                    }

                    updatedAlerts.Add(alert);
                }
            }

            AlertServices.UpdateAlerts(updatedAlerts);
        }