Can someone help me with my "shop"

So in my game I wanna make it so that when you win 15 or x games you unlock a character but I don’t really now how.
http://www.flowlab.io/game/play/225037

got it to work but u need to double click the character for it to work, how do I fix this