save && restore tree view status