Desktop: associate tree items with the corresponding view