1. An image forming apparatus, comprising: a changing unit configured to change a network setting; a determination unit configured to determine whether or not an application corresponds to a dynamic update for reflecting the change of the network setting without rebooting the image forming apparatus; and a controlling unit configured not to reboot the image forming apparatus associated with the change of the network setting if the determination unit determines that the application corresponds to the dynamic update for the change of the network setting, and to reboot the image forming apparatus if the determination unit determines that the application does not correspond to the dynamic update for the change of the network setting.