getting the card information from the database now uses another thread so it doesn't lag for a long time before the applciation starts up.