Adds on card type change listener