added getUID method to get unique uid of the command.
Other debug

Change-Id: I72227da42b4bfca4a26016913e009ae3dc942ee5