fix selected card update

I was wrong, re-added some code