add a tooltip to the device label and update the css correspondingly