1. An electronic device, comprising: a display unit that displays an image that is based on data; an operation unit that can select at least a part of the image displayed on the display unit as a selected image; a storage unit, wherein, in a case in which an image that is based on data is displayed on the display unit as a result of processing by a first application, the storage unit stores selected data corresponding to the selected image selected by the operation unit, and peripheral data corresponding to images around the selected image; and a control unit, wherein, in a case in which a second application different from the first application is activated after the selected data and the peripheral data are stored in the storage unit, the control unit reads the selected data stored in the storage unit so as to be developed in the second application, and displays a selected image, which is based on the selected data, on the display unit, and in addition, in a case in which a predetermined operation is performed for the selected image by the operation unit, the control unit reads the peripheral data stored in the storage unit, adds an image, which is based on corresponding data that corresponds to at least a part of the peripheral data, to the selected image, and displays a resultant image on the display unit.