An electronic device comprising: a housing; a display including a touch screen exposed through a part of the housing; a communication circuit configured to support cellular communication; a secure element configured to store a plurality of profiles including a first profile associated with a first cellular network and a second profile associated with a second cellular network, wherein the secure element includes an embedded universal integrated circuit card (eUICC); a processor electrically connected to the display, the communication circuit, and the secure element; a profile state controller, PSC, module configured to store channel information and session information associated with the plurality of profiles, and a memory placed inside the housing and electrically connected or coupled to the processor, wherein the memory is adapted to store a first application program and a second application program, and wherein the memory is adapted to store instructions, that when executed, cause the processor to: configure the first application program using the first profile and the second application program using the second profile based at least partly on a user input, default settings, and/or a state of the electronic device; enable the first profile while disabling the second profile; and perform a first operation associated with the second application program in a state where the first profile is enabled and the second profile is disabled, wherein the first operation comprises restoring a connection of the second profile using the channel information and session information associated with the second profile stored in the PSC module, wherein the instructions further cause the processor to: determine whether to enable the second profile and disable the first profile, to perform a second operation associated with the second application program; enable the second profile and disable the first profile, depending on the determination; and perform the second operation by using the second profile. a housing; a display including a touch screen exposed through a part of the housing; a communication circuit configured to support cellular communication; a secure element configured to store a plurality of profiles including a first profile associated with a first cellular network and a second profile associated with a second cellular network, wherein the secure element includes an embedded universal integrated circuit card (eUICC); a processor electrically connected to the display, the communication circuit, and the secure element; a profile state controller, PSC, module configured to store channel information and session information associated with the plurality of profiles, and a memory placed inside the housing and electrically connected or coupled to the processor, wherein the memory is adapted to store a first application program and a second application program, and wherein the memory is adapted to store instructions, that when executed, cause the processor to: configure the first application program using the first profile and the second application program using the second profile based at least partly on a user input, default settings, and/or a state of the electronic device; enable the first profile while disabling the second profile; and perform a first operation associated with the second application program in a state where the first profile is enabled and the second profile is disabled, configure the first application program using the first profile and the second application program using the second profile based at least partly on a user input, default settings, and/or a state of the electronic device; enable the first profile while disabling the second profile; and perform a first operation associated with the second application program in a state where the first profile is enabled and the second profile is disabled, wherein the first operation comprises restoring a connection of the second profile using the channel information and session information associated with the second profile stored in the PSC module, wherein the instructions further cause the processor to: determine whether to enable the second profile and disable the first profile, to perform a second operation associated with the second application program; enable the second profile and disable the first profile, depending on the determination; and perform the second operation by using the second profile. determine whether to enable the second profile and disable the first profile, to perform a second operation associated with the second application program; enable the second profile and disable the first profile, depending on the determination; and perform the second operation by using the second profile.