private async void AddPush(object sender, EventArgs e)
        {
            string title = EntryTitle.Text;
            string text  = BordlessEditor.Text;

            if (string.IsNullOrWhiteSpace(title))
            {
                await DisplayAlert(AppResources.ErrorTitle, AppResources.EnterName, "OK");
            }
            else if (string.IsNullOrWhiteSpace(text))
            {
                await DisplayAlert(AppResources.ErrorTitle, AppResources.SfPdfViewerPlaceHolderText, "OK");
            }
            else
            {
                AnnouncementArguments announcementArguments = new AnnouncementArguments()
                {
                    Header         = title,
                    Text           = text,
                    ShowOnMainPage = CheckBox.IsToggled,
                    ActiveFrom     = DatePicker.Date.ToString("dd.MM.yyyy"),
                    ActiveTo       = DatePicker2.Date.ToString("dd.MM.yyyy")
                };
                if (!string.IsNullOrWhiteSpace(EntryLS.Text))
                {
                    announcementArguments.Ident = EntryLS.Text;
                }

                if (!string.IsNullOrWhiteSpace(EntryDebt.Text))
                {
                    try
                    {
                        decimal debt = Decimal.Parse(EntryDebt.Text);
                        announcementArguments.ForAccountsWithDebtOver = debt;
                    }
                    catch (Exception exception)
                    {
                        Console.WriteLine(exception);
                    }
                }

                if (SelecttHouses != null && SelecttHouses.Count > 0)
                {
                    announcementArguments.Houses = SelecttHouses.Select(each => each.ID).ToList();
                }

                if (_selectedGroupId != -1)
                {
                    announcementArguments.id_homegroup = _selectedGroupId;
                }

                if (announcementArguments.id_homegroup == null &&
                    announcementArguments.Houses == null &&
                    string.IsNullOrWhiteSpace(announcementArguments.Ident) &&
                    announcementArguments.ForAccountsWithDebtOver == null)
                {
                    announcementArguments.Houses = DefaultHouses.Select(each => each.ID).ToList();
                }

                if (!string.IsNullOrWhiteSpace(_os) && !_os.Equals(AppResources.All))
                {
                    announcementArguments.OS = _os;
                }



                new Task(() =>
                {
                    Device.BeginInvokeOnMainThread(async() =>
                    {
                        Configurations.LoadingConfig = new LoadingConfig
                        {
                            IndicatorColor = (Color)Application.Current.Resources["MainColor"],
                            OverlayColor   = Color.Black,
                            Opacity        = 0.8,
                            DefaultMessage = AppResources.Loading,
                        };

                        await Loading.Instance.StartAsync(async progress =>
                        {
                            IDResult newAnnouncement = await _server.NewAnnouncement(announcementArguments);
                            if (newAnnouncement.Error == null)
                            {
                                CommonResult sendAnnouncement = await _server.SendAnnouncement(newAnnouncement.ID);
                                if (sendAnnouncement.Error != null)
                                {
                                    Device.BeginInvokeOnMainThread(async() =>
                                    {
                                        await DisplayAlert(AppResources.ErrorTitle, sendAnnouncement.Error, "OK");
                                    });
                                }
                                else
                                {
                                    Device.BeginInvokeOnMainThread(async() =>
                                    {
                                        await DisplayAlert("", AppResources.SendingPush, "OK");
                                    });
                                }
                            }
                            else
                            {
                                Device.BeginInvokeOnMainThread(async() =>
                                {
                                    await DisplayAlert(AppResources.ErrorTitle, newAnnouncement.Error, "OK");
                                });
                            }
                        });
                    });
                }).Start();
            }
        }