card color change implemented