Skills Resetting For SkillTree

I’m trying to make a skill tree for a game. However, every time I close the widget that opens the skill tree the skills reset and need to be purchased again. The skill tree is set under a player menu that is opened through a controller.