Adding callback for showCard

This replaces #29