Fix refresh tree when returning to EDR