Use application events to refresh tree