An electronic device comprising: an embedded subscriber identity module, `eSIM', embedded in the electronic device, the eSIM being configured to store a first profile associated with a first communication service; a physical SIM, `pSIM', configured to have a SIM card removably attached thereto or inserted thereinto, the pSIM being configured to store a second profile associated with a second communication service; a communication processor configured to control the eSIM and the pSIM; and a processor (120; 310) configured to: receive a signal indicating switching from a dual standby mode, in which the first communication service and the second communication service are both available, to a single standby mode, in which the first communication service is unavailable and the second communication service is available; disable a local profile assistant in device, 'LPAd', comprised in the electronic device and configured to control the eSIM in response to receiving the signal; delete a task associated with the eSIM and comprised in the processor (120; 310) in response to completion of disabling the LPAd; request deactivating of a protocol stack corresponding to the eSIM and comprised in the communication processor in response to deleting the task thereby preventing reference to identification information corresponding to the eSIM; and reset the communication processor in response to deactivating the protocol stack. an embedded subscriber identity module, `eSIM', embedded in the electronic device, the eSIM being configured to store a first profile associated with a first communication service; a physical SIM, `pSIM', configured to have a SIM card removably attached thereto or inserted thereinto, the pSIM being configured to store a second profile associated with a second communication service; a communication processor configured to control the eSIM and the pSIM; and a processor (120; 310) configured to: receive a signal indicating switching from a dual standby mode, in which the first communication service and the second communication service are both available, to a single standby mode, in which the first communication service is unavailable and the second communication service is available; disable a local profile assistant in device, 'LPAd', comprised in the electronic device and configured to control the eSIM in response to receiving the signal; delete a task associated with the eSIM and comprised in the processor (120; 310) in response to completion of disabling the LPAd; request deactivating of a protocol stack corresponding to the eSIM and comprised in the communication processor in response to deleting the task thereby preventing reference to identification information corresponding to the eSIM; and reset the communication processor in response to deactivating the protocol stack. receive a signal indicating switching from a dual standby mode, in which the first communication service and the second communication service are both available, to a single standby mode, in which the first communication service is unavailable and the second communication service is available; disable a local profile assistant in device, 'LPAd', comprised in the electronic device and configured to control the eSIM in response to receiving the signal; delete a task associated with the eSIM and comprised in the processor (120; 310) in response to completion of disabling the LPAd; request deactivating of a protocol stack corresponding to the eSIM and comprised in the communication processor in response to deleting the task thereby preventing reference to identification information corresponding to the eSIM; and reset the communication processor in response to deactivating the protocol stack.