Validation in Device. if device status is not normal edit button is disabled.