1. An image forming apparatus capable of executing update processing for updating firmware, the image forming apparatus comprising: a processing device; and a memory storing instructions that, when executed by the processing device, cause the image forming apparatus to perform: (1) setting, as a setting regarding the update processing, either (a) a first setting indicating that the update processing is executed periodically or (b) a second setting indicating that the update processing is executed at a designated, non-periodical date and time, (2) obtaining update firmware for updating firmware of the image forming apparatus, wherein the update firmware is obtained from a server on a network, (3) executing extraction processing for extracting the update firmware obtained in the obtaining, wherein extracting the update firmware is performed in the background during a normal operation mode to reduce the time in the updating mode and downtime, (4) in a case where the extraction processing is interrupted and the image forming apparatus re-boots after the interruption, determining, in order to retry the extraction processing in the background, whether the first setting or the second setting is set in the setting, (5) deciding, in a case where it is determined that the first setting is set and that a set timing for performing the update processing has already passed upon the re-boot after the interruption, not to execute extraction processing corresponding to the first setting, wherein, in a case where it is decided to not execute the extraction processing, the image forming apparatus is caused to perform execution of an error display, (6) deciding, in the deciding, in a case where it is determined, in the determining, that the first setting is set and that a set timing for performing the update processing has not passed, to execute the extraction processing corresponding to the first setting, and (7) deciding, in the deciding, in a case where it is determined, in the determining, that the second setting is set and that a date and time for performing the update processing has passed, to re-execute the extraction processing.