A device comprising: a display configured to display a container object and a plurality of items that are movable into the container object; a user input device configured to obtain a user input; and at least one processor , wherein the at least one processor is configured to: until a user touch input is ended, determine whether the user input is indicative of: - a first gesture moving from the container object to a current position of the user input or - a second gesture forming a loop; based on the user input indicating the first gesture moving from the container object to a current position of the user input, control the display to display a first connector along a first path of the first gesture, the first connector being connected from the container object to the current position of the user input, identify a first item among the plurality of items, located within a predetermined distance of an end of the first connector at the current location of the user input, and, if the first item is located within the predetermined distance from the end of the first connector for a predetermined time, move the first item into the container object, and based on the user input indicating the second gesture forming a loop, control the display to display a second connector along a second path of the second gesture, the second connector being connected from the container object to the current position of the user input, identify the items, among the plurality of items, enclosed by the loop, and move the identified items into the container object. a display configured to display a container object and a plurality of items that are movable into the container object; a user input device configured to obtain a user input; and at least one processor , wherein the at least one processor is configured to: until a user touch input is ended, determine whether the user input is indicative of: - a first gesture moving from the container object to a current position of the user input or - a second gesture forming a loop; - a first gesture moving from the container object to a current position of the user input or - a second gesture forming a loop; based on the user input indicating the first gesture moving from the container object to a current position of the user input, control the display to display a first connector along a first path of the first gesture, the first connector being connected from the container object to the current position of the user input, identify a first item among the plurality of items, located within a predetermined distance of an end of the first connector at the current location of the user input, and, if the first item is located within the predetermined distance from the end of the first connector for a predetermined time, move the first item into the container object, and based on the user input indicating the second gesture forming a loop, control the display to display a second connector along a second path of the second gesture, the second connector being connected from the container object to the current position of the user input, identify the items, among the plurality of items, enclosed by the loop, and move the identified items into the container object. <EOS>