private async void ApplySetting()
        {
            try
            {
                var type    = (GEnv.GadgetType)GadgetItemTypePicker.SelectedIndex;
                var note    = GadgetItemNoteEntry.Text;
                var manager = notiManager as GadgetNotiManager;

                if (editType == NotiManager.EditType.Add)
                {
                    Noti = new GadgetNoti(type);
                }
                else if (editType == NotiManager.EditType.Edit)
                {
                    Noti.EditItemType(type);
                }

                Noti.ItemNote = note;

                manager.EditList(Noti, editType);

                await Navigation.PopAsync();
            }
            catch { }
        }
        public EditGadgetItemPage(NotiManager notiManager, NotiManager.EditType type, GadgetNoti noti = null)
        {
            editType         = type;
            this.notiManager = notiManager;

            Noti = noti;

            InitializeComponent();

            Title = (editType == NotiManager.EditType.Add) ? AppResources.EditItemPage_Title_New : AppResources.EditItemPage_Title_Edit;

            InitPicker();
        }