Classification editor: refactoring callback assignment for refresh button