Update card counter to show modal when a user comes to the end of a deck of cards or has finished the due cards for the day.