save bookmarks to prefs