fixed bug: card picture not updating when calling setCounter()