when xdjs loads, switch to the local device