anchor.diff:  
         if (unlocked) {
           _log.config('applet unlocked');
  -        setData(state.value!.copyWith(locked: false));
  +        setData(state.value!.copyWith(
  +          locked: false,
  +          remembered: remembered,
  +        ));
         }
         return Pair(unlocked, remembered);
       } on PlatformException catch (e) {
  
positive.code:   Future<bool> unsetPassword(String current) async {
      try {
        await _api.unsetPassword(current);
        return true;
      } on PlatformException catch (e) {
        _log.config('Calling unset password failed with exception: $e');
  
negative.code:   Future<bool> setPassword(String? current, String password) async {
      try {
        await _api.setPassword(current, password);
        setData(state.value!.copyWith(hasKey: true));
        return true;
      } on PlatformException catch (e) {
        _log.config('Calling set password failed with exception: $e');
  