remoced obsolete methods from code: updateWarrantyCard, getAllCards and deleteAllCards
removed replaced deleteAllCards with deleteCard(0).