Improved detecting change of cards