Can we try to pull refreshPackageList() and ok.config(state='normal')?