Fixed error in initializing bookmarks context menu