Adds code to restart sensor adapters when use changes sensor device.
Merge branch 'master' into position-tracker