added state setting to TextSpriteButton