const resetCode = useCallback(() => {
    dispatch(actions.resetGeneratorAndSolution());
    taskService.send('CHANGES');
  }, [dispatch, taskService]);