use deviceready to fix the device.uuid bug