Formatting
Refactored the card creation and checkChanged listeners