Added a new ListView for favorites.
Refactored some code.