fixed issue with Connect btn when there are no attached devices.