wrong device name was saved in preferences.txt