Add code to silence and unsilence the device