modify the listWidget and KTreeWidget