Adds code to restart sensor adapters when use changes sensor device.