Worked on SQ Lite favorites.
Minor refactoring.