Hi Wolfman,
It sounds like you want a bit of a denouncer enabled. An easy way would be to implement a software denouncer.
Your code would be where the hearts are. Every time the button A is pressed, it first checks to see if at least 2000mS have passed since the last time it was pressed.
I hope that helps.
Thanks,
Josh