public void OnSaved(WpfConfiguration configurationControl) { interceptKeys.RemoveCombinationHandler(monitorKeysDown, OnKeyCombinationActivated); monitorKeysDown = (configurationControl as KeypressConfig).KeysToSave; interceptKeys.AddCombinationHandler(monitorKeysDown, OnKeyCombinationActivated); }