handleSaveBtnEvent = event => {
  if (
    event.type !== 'keypress'
    || (event.type === 'keypress' && event.keyCode === 13)
  ) {
    saveConfig();
  }
}
Handle save button event
@param {event} event