A method for displaying a plurality of objects of a detachable user interface in a system comprising a first device and a second device; - wherein each of the first device and the second device comprises an inputting module comprising a sensor, a processing module, a screen, a communication module for communicating between the first device and the second device, and a storage module; the method further comprising: - establishing a communication between the first device and the second device for exchanging information about which objects are displayed on the first device and the second device; - determining, by any of the first and the second device, that a distance between the first device and the second device is below a threshold value, - in case the distance between the first device and the second device becomes below the threshold value, determining that the plurality of objects of the detachable user interface are displayed on the screen of the second device and none of the plurality of objects of the detachable user interface is displayed on the screen of first device, wherein any one of the objects of the detachable user interface is able to be displayed on the screen of the first device and to be separated from remaining objects displayed on the screen of the second device; - in case the plurality of objects of the detachable user interface are displayed on the screen of the second device, determining, by the inputting module of any of the first and second device, at least one object having closest distance to the first device compared to remaining objects among the plurality of objects of the detachable user interface that were previously displayed on the screen of the second device; - displaying on the screen of the first device the determined at least one object by scaling the size of the determined at least one object to the screen size of the first device, and displaying on the screen of the second device the remaining objects by scaling sizes of the remaining objects to the screen size of the second device, the determined at least one object displayed on the screen of the first device not being displayed on the screen of the second device; - in case the first device is moved away from the second device, keeping displaying the determined at least one object on the screen of the first device, and keeping displaying the remaining objects on the screen of the second device. - wherein each of the first device and the second device comprises an inputting module comprising a sensor, a processing module, a screen, a communication module for communicating between the first device and the second device, and a storage module; - establishing a communication between the first device and the second device for exchanging information about which objects are displayed on the first device and the second device; - determining, by any of the first and the second device, that a distance between the first device and the second device is below a threshold value, - in case the distance between the first device and the second device becomes below the threshold value, determining that the plurality of objects of the detachable user interface are displayed on the screen of the second device and none of the plurality of objects of the detachable user interface is displayed on the screen of first device, wherein any one of the objects of the detachable user interface is able to be displayed on the screen of the first device and to be separated from remaining objects displayed on the screen of the second device; - in case the plurality of objects of the detachable user interface are displayed on the screen of the second device, determining, by the inputting module of any of the first and second device, at least one object having closest distance to the first device compared to remaining objects among the plurality of objects of the detachable user interface that were previously displayed on the screen of the second device; - displaying on the screen of the first device the determined at least one object by scaling the size of the determined at least one object to the screen size of the first device, and displaying on the screen of the second device the remaining objects by scaling sizes of the remaining objects to the screen size of the second device, the determined at least one object displayed on the screen of the first device not being displayed on the screen of the second device; - in case the first device is moved away from the second device, keeping displaying the determined at least one object on the screen of the first device, and keeping displaying the remaining objects on the screen of the second device.