Fixed UABSetProperties

-Error retrieving the properties (checkbox checked)

-Error on set for the first time the properties of an object (Previous
selected object unknown value)