Added serialnumber detection in UI