Implement card switch functionality