Make activated a prmitive type
Use primitive type for getter and setter
Merge pull request #536 from LeovR/activated

Make activated a prmitive type