protected override void OnDisappearing()
 {
     base.OnDisappearing();
     Tgr.Tapped                   -= Tgr_Tapped;
     RegenerateCell.Tapped        -= RegenerateCell_Tapped;
     SpecialCell.OnChanged        -= SpecialCell_OnChanged;
     AvoidAmbiguousCell.OnChanged -= AvoidAmbiguousCell_OnChanged;
     UppercaseCell.OnChanged      -= UppercaseCell_OnChanged;
     LowercaseCell.OnChanged      -= LowercaseCell_OnChanged;
     NumbersCell.OnChanged        -= NumbersCell_OnChanged;
     NumbersMinCell.Dispose();
     SpecialMinCell.Dispose();
     CopyCell.Tapped -= CopyCell_Tapped;
     SliderCell.Dispose();
 }
        protected override void OnDisappearing()
        {
            base.OnDisappearing();
            SpecialCell.OnChanged        -= SpecialCell_OnChanged;
            AvoidAmbiguousCell.OnChanged -= AvoidAmbiguousCell_OnChanged;
            UppercaseCell.OnChanged      -= UppercaseCell_OnChanged;
            LowercaseCell.OnChanged      -= LowercaseCell_OnChanged;
            NumbersCell.OnChanged        -= NumbersCell_OnChanged;
            NumbersMinCell.Dispose();
            SpecialMinCell.Dispose();

            _settings.AddOrUpdateValue(Constants.PasswordGeneratorMinNumbers,
                                       Convert.ToInt32(NumbersMinCell.Stepper.Value));

            _settings.AddOrUpdateValue(Constants.PasswordGeneratorMinSpecial,
                                       Convert.ToInt32(SpecialMinCell.Stepper.Value));
        }