Adding tree widget