There's an implication of minimization in your post, or you wouldn't have bothered posting something that obvious in the first place.
Could you please stop interterpreting? Really, your skills don't get better at all ...
Again ... you are wrong. You would be astonished how many people don't know how these basic mechanics. And since I can't know how much you know or don't ...
And apart from that you can't know what bothers me or doesn't.
I might have misinterpreted your question tho. You asked how it works and I was thinking about how the traits work.
If you meant how it works to unlock as trait ... press button: the logic behind it then will flag the trait as owned, either by setting a boolean variable or adding the trait entry to a Set of entries (Enum or String, I would use Enum, that's safer). So far there is no known meachanism to revert the choices you made.