Fixes issues with pulling from the database and remembering card selection - mrracine