changed method to generate device id
Merge branch 'master' of https://github.com/OSAStudio/newshub