Made DeckData not run forever when given an empty array for cards
Fixed bug with adding a new card and performance issues