Preparing the treeview with the friends [dis]connected