save device Id to storage