anchor.diff:      _label = widget.fingerprint.name ?? '';
     }
   
  +  _submit() async {
  +    final renamed = await ref
  +        .read(fingerprintProvider(widget.devicePath).notifier)
  +        .renameFingerprint(widget.fingerprint, _label);
  +    Navigator.of(context).pop(renamed);
  +    showMessage(context, 'Fingerprint renamed');
  +  }
  +
     @override
     Widget build(BuildContext context) {
       // If current device changes, we need to pop back to the main Page.
  
positive.code:       ),
        actions: [
          TextButton(
            onPressed: _label.isNotEmpty
                ? () async {
                    final renamed = await ref
                        .read(fingerprintProvider(widget.devicePath).notifier)
                        .renameFingerprint(fingerprint, _label);
                    Navigator.of(context).pop(renamed);
                    showMessage(context, 'Fingerprint renamed');
                  }
                : null,
            child: const Text('Save'),
          ),
        ],
  
negative.code:                 _label = value.trim();
                });
              },
              onFieldSubmitted: (_) {
                if (_label.isNotEmpty) {
                  _submit();
                }
              },
            ),
          ]
              .map((e) => Padding(
  