def METHOD_NAME(self):
    word_active = self.node_type == 1
    self.window_size_spin.setDisabled(not word_active)
    self.freq_thresold_spin.setDisabled(not word_active)
    self.Information.params_changed(shown=(self._task_state == "running"))
    self.cancel()