added color to buttons and validation of device name input