Settings and Favorites pages made, Cleaned up Redundant Code.

Settings and Favorites pages made, Cleaned up Redundant Code.