Refactoring of key handler in FeatureDiagramEditorKeyHandler.