1. An electronic device comprising: a controller; a wireless radio frequency unit (RF) electrically coupled to the controller; a display unit electrically coupled to the controller, wherein the display comprises a touchscreen; an audio processing unit electrically coupled to the controller; a sensor unit electrically coupled to the controller; and a storage unit, wherein the storage unit stores instructions that, when executed, cause the controller to receive a first tapping pattern via at least one of the touchscreen, the audio processing unit, or the sensor unit, store the first tapping pattern in the storage unit, receive a second tapping pattern via at least one of the touchscreen, the audio is processing unit, or the sensor unit, determine whether the second tapping pattern corresponds to the first tapping pattern, and perform a function when the second tapping pattern corresponds to the first tapping pattern.