Now the app is working seamlessly.

Added the DeviceUUIDFactory class for creation of the UUID.
App is working without it.