Setting up editable layer for trees