fix(refresh): refresh when DOM dynamically changes now works properly