handleOptimBtnEvent = event => {
  if (
    event.type !== 'keypress'
    || (event.type === 'keypress' && event.keyCode === 13)
  ) {
    addOptimFilter();
    event.target.classList.add('btn--disabled');
    setTimeout(() => {
      event.target.classList.remove('btn--disabled');
    }, 1000);
  }
}
Handle add optimization filter button
@param {event} event