Hi Lars,
If you use 3rd party API like "localStorageDB" you need to follow this API documentation.
See details here: https://github.com/knadh/localStorageDB
I mean if you store in "localStorageDB" you need to get this information in accordance to this API.
As i see this information could be getting with code like:
pre
lib.query("books", {author: "ramachandran"});
/pre
But you get this with code:
pre
localStorage.getItem("favSongs")
/pre
Thus you need get items in accordance to this API and return it to success function after.
Regards.