private async void Create_SurveyMarketing(object sender, EventArgs e)
        {
            TitleMarketing.Focus();
            contentpageMarketing.Opacity = 0.3;
            PopupcreatesurveyMarketing.BackgroundColor = Color.FromHex("eeebeb");
            PopupcreatesurveyMarketing.IsVisible       = true;
            await PopupcreatesurveyMarketing.ScaleTo(1.5, 200, Easing.Linear);

            await PopupcreatesurveyMarketing.ScaleTo(1.2, 200, Easing.Linear);
        }
 protected override bool OnBackButtonPressed()
 {
     if (PopupcreatesurveyEducation.IsVisible || PopupcreatesurveySport.IsVisible || PopupcreatesurveyMarketing.IsVisible || PopupcreatesurveyOther.IsVisible)
     {
         Device.BeginInvokeOnMainThread(async() =>
         {
             if (PopupcreatesurveyEducation.IsVisible)
             {
                 await PopupcreatesurveyEducation.ScaleTo(1.3, 200, Easing.Linear);
                 await PopupcreatesurveyEducation.ScaleTo(1, 200, Easing.Linear);
                 PopupcreatesurveyEducation.IsVisible = false;
                 contentpageEducation.Opacity         = 1;
                 checkinputsEducation.Text            = "";
                 DescriptionEducation.Text            = "";
                 TitleEducation.Text = "";
             }
             else if (PopupcreatesurveySport.IsVisible)
             {
                 await PopupcreatesurveySport.ScaleTo(1.3, 200, Easing.Linear);
                 await PopupcreatesurveySport.ScaleTo(1, 200, Easing.Linear);
                 PopupcreatesurveySport.IsVisible = false;
                 contentpageSport.Opacity         = 1;
                 checkinputsSport.Text            = "";
                 DescriptionSport.Text            = "";
                 TitleSport.Text = "";
             }
             else if (PopupcreatesurveyMarketing.IsVisible)
             {
                 await PopupcreatesurveyMarketing.ScaleTo(1.3, 200, Easing.Linear);
                 await PopupcreatesurveyMarketing.ScaleTo(1, 200, Easing.Linear);
                 PopupcreatesurveyMarketing.IsVisible = false;
                 contentpageMarketing.Opacity         = 1;
                 checkinputsMarketing.Text            = "";
                 DescriptionMarketing.Text            = "";
                 TitleMarketing.Text = "";
             }
             else if (PopupcreatesurveyOther.IsVisible)
             {
                 await PopupcreatesurveyOther.ScaleTo(1.3, 200, Easing.Linear);
                 await PopupcreatesurveyOther.ScaleTo(1, 200, Easing.Linear);
                 PopupcreatesurveyOther.IsVisible = false;
                 contentpageOther.Opacity         = 1;
                 checkinputsOther.Text            = "";
                 DescriptionOther.Text            = "";
                 TitleOther.Text = "";
             }
         });
         return(true);
     }
     return(false);
 }
        private async void Cancel(object sender, EventArgs e)
        {
            if (PopupcreatesurveyEducation.IsVisible)
            {
                await PopupcreatesurveyEducation.ScaleTo(1.3, 200, Easing.Linear);

                await PopupcreatesurveyEducation.ScaleTo(1, 200, Easing.Linear);

                PopupcreatesurveyEducation.IsVisible = false;
                contentpageEducation.Opacity         = 1;
                checkinputsEducation.Text            = "";
                DescriptionEducation.Text            = "";
                TitleEducation.Text = "";
            }
            else if (PopupcreatesurveySport.IsVisible)
            {
                await PopupcreatesurveySport.ScaleTo(1.3, 200, Easing.Linear);

                await PopupcreatesurveySport.ScaleTo(1, 200, Easing.Linear);

                PopupcreatesurveySport.IsVisible = false;
                contentpageSport.Opacity         = 1;
                checkinputsSport.Text            = "";
                DescriptionSport.Text            = "";
                TitleSport.Text = "";
            }
            else if (PopupcreatesurveyMarketing.IsVisible)
            {
                await PopupcreatesurveyMarketing.ScaleTo(1.3, 200, Easing.Linear);

                await PopupcreatesurveyMarketing.ScaleTo(1, 200, Easing.Linear);

                PopupcreatesurveyMarketing.IsVisible = false;
                contentpageMarketing.Opacity         = 1;
                checkinputsMarketing.Text            = "";
                DescriptionMarketing.Text            = "";
                TitleMarketing.Text = "";
            }
            else if (PopupcreatesurveyOther.IsVisible)
            {
                await PopupcreatesurveyOther.ScaleTo(1.3, 200, Easing.Linear);

                await PopupcreatesurveyOther.ScaleTo(1, 200, Easing.Linear);

                PopupcreatesurveyOther.IsVisible = false;
                contentpageOther.Opacity         = 1;
                checkinputsOther.Text            = "";
                DescriptionOther.Text            = "";
                TitleOther.Text = "";
            }
        }