Make the treeview relies only on the torrent pointers instead of their indices