Add getting device uuid function
Change function position