fixed typo in addCard function
fixed all wrong-caps localforage