An electronic device comprising: a short-range communication module; a touchscreen configured to display a first layer including at least one item; and characterized in that the electronic device further comprises a controller adapted to: control the short-range communication module to establish a communication link with at least one external device, control the touchscreen to display a second layer including the at least one item included in the first layer, such that it overlaps with the first layer, wherein the second layer includes an icon for controlling connection with the at least one external device, and wherein a mark indicating that at least one item included in the second layer can be shared with the external device is displayed at the sharable item, wherein the second layer includes the same item array as the items included in the first later, and control the touchscreen to display a tray bar for sharing the at least one sharable item with the at least one external device in one lateral side of the touchscreen corresponding to a direction in which the external device is positioned, wherein when at least one external device exists in a particular position within a predetermined short-range communication range in the state in which the communication link is established, the controller is adapted to control the touch screen to display the second layer on the first layer in an overlapping manner. a short-range communication module; a touchscreen configured to display a first layer including at least one item; and characterized in that the electronic device further comprises a controller adapted to: control the short-range communication module to establish a communication link with at least one external device, control the touchscreen to display a second layer including the at least one item included in the first layer, such that it overlaps with the first layer, wherein the second layer includes an icon for controlling connection with the at least one external device, and wherein a mark indicating that at least one item included in the second layer can be shared with the external device is displayed at the sharable item, wherein the second layer includes the same item array as the items included in the first later, and control the touchscreen to display a tray bar for sharing the at least one sharable item with the at least one external device in one lateral side of the touchscreen corresponding to a direction in which the external device is positioned, control the short-range communication module to establish a communication link with at least one external device, control the touchscreen to display a second layer including the at least one item included in the first layer, such that it overlaps with the first layer, wherein the second layer includes an icon for controlling connection with the at least one external device, and wherein a mark indicating that at least one item included in the second layer can be shared with the external device is displayed at the sharable item, wherein the second layer includes the same item array as the items included in the first later, and control the touchscreen to display a tray bar for sharing the at least one sharable item with the at least one external device in one lateral side of the touchscreen corresponding to a direction in which the external device is positioned, wherein when at least one external device exists in a particular position within a predetermined short-range communication range in the state in which the communication link is established, the controller is adapted to control the touch screen to display the second layer on the first layer in an overlapping manner.