Add a trace when the exit button is clicked
Add the KNNAssigner assign method