When I add a Matter device using a Matter code from the Web UI, I have the option to name the device or replace an old device with the new device.
When adding a Matter device from the Android app, it just adds the device as and labels it as a "Generic matter device".
The Android app should have the same ability as the Web UI to name or replace a device!