* Added support for database storage of favorites