Adding the deviceID to localStorage.