added key handling for configuration viewer