Added view for turning on and off devices
Fixed link to turn on and off devices