/**
  * Takes care of saving the additional fields' values in the task's object
  *
  * @param array $submittedData An array containing the data submitted by the add/edit task form
  * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the scheduler backend module
  * @return void
  */
 public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task)
 {
     /** @var \DmitryDulepov\DdGooglesitemap\Scheduler\Task $task */
     $task->setEIdScriptUrl($submittedData['eIdUrl']);
     $task->setMaxUrlsPerSitemap($submittedData['maxUrlsPerSitemap']);
     $task->setIndexFilePath($submittedData['indexFilePath']);
 }