When the config is reset (either through the pretixSCAN menu or through reinstalling on Windows) and the application is reinitiated with a new device name and token, the old device name will still be displayed next to the pretix logo.
I am not 100% certain, but I think when setting the app up for the first time (or after having manually deleted all data), the device name even stays empty until you execute some unknown click-path which causes the display to refresh.
Ref: Z#2388636