invoke vcs refresh when main frame becomes active