Changed event handler for continuous inference