Bookmark functionality done

The program now adds bookmarks to local storage correctly.