Favourite maps

New pull request because my previous one was on the master branch which was stopping me from doing any unrelated changes.
(Changes from the previous pull request - fixed the favourite icon appearing in the wrong place, and load the cookie data only once as suggested by Geforce)