Removes unused cardPressed declaration.