Added OnCardClick and OnCardDoubleClick events