[security] Added collapse, expand and refresh tree