TocPane: store a pointer to the toc_entry and use to avoid creating a temporary uri in uri_from_selected_item