commands-file: save next tab in async ready callback