Added toggle for device