An electronic device (100; 201; 401; 501) comprising: a housing comprising a surface; a screen (160; 260; 405; 635; 703; 1303) exposed through the surface of the housing; a wheel (403; 505; 601; 707; 1301) rotatably attached to the housing; a sensor configured to detect a rotation direction of the wheel; a processor (120; 210; 701) electrically connected to the sensor and a screen; and a memory electrically connected to the processor, wherein the memory stores instructions causing the processor to, when executed by the processor, display a circular user interface on the screen, the circular user interface comprising a circular arrangement of symbols, wherein the symbols comprise numbers, characters, special characters, and/or icons in a selected order, detect a first rotation of the wheel through the sensor, determine whether the wheel stops for a pre-selected time interval after the first rotation, and in response to the determination that the wheel is stopped for the pre-selected time interval, select one of the symbols based on a rotation angle of the wheel, and rotate the circular arrangement on the screen such that one predetermined from the symbols is located at a position corresponding to a position of the selected one of the symbols before the circular arrangement is rotated. a housing comprising a surface; a screen (160; 260; 405; 635; 703; 1303) exposed through the surface of the housing; a wheel (403; 505; 601; 707; 1301) rotatably attached to the housing; a sensor configured to detect a rotation direction of the wheel; a processor (120; 210; 701) electrically connected to the sensor and a screen; and a memory electrically connected to the processor, wherein the memory stores instructions causing the processor to, when executed by the processor, display a circular user interface on the screen, the circular user interface comprising a circular arrangement of symbols, wherein the symbols comprise numbers, characters, special characters, and/or icons in a selected order, detect a first rotation of the wheel through the sensor, determine whether the wheel stops for a pre-selected time interval after the first rotation, and in response to the determination that the wheel is stopped for the pre-selected time interval, select one of the symbols based on a rotation angle of the wheel, and rotate the circular arrangement on the screen such that one predetermined from the symbols is located at a position corresponding to a position of the selected one of the symbols before the circular arrangement is rotated. display a circular user interface on the screen, the circular user interface comprising a circular arrangement of symbols, wherein the symbols comprise numbers, characters, special characters, and/or icons in a selected order, detect a first rotation of the wheel through the sensor, determine whether the wheel stops for a pre-selected time interval after the first rotation, and in response to the determination that the wheel is stopped for the pre-selected time interval, select one of the symbols based on a rotation angle of the wheel, and rotate the circular arrangement on the screen such that one predetermined from the symbols is located at a position corresponding to a position of the selected one of the symbols before the circular arrangement is rotated. select one of the symbols based on a rotation angle of the wheel, and rotate the circular arrangement on the screen such that one predetermined from the symbols is located at a position corresponding to a position of the selected one of the symbols before the circular arrangement is rotated.