A method of controlling an operation of a mobile terminal configured to be connected to an audio output device via short-range communication, the method comprising:
- receiving a command via a first key signal from the audio output device, the first key signal configured to control an audio playback operation and a first profile configured to play audio data;
- determining if the mobile terminal is connected to the audio output device using the first profile;
- connecting the mobile terminal to the audio output device via the short-range communication using the first profile and initiating a timer upon the connecting of the mobile terminal to the audio output device when it is determined that the mobile terminal is not connected to the audio output device using the first profile;
- and
- suspending processing of a command corresponding to the first key signal for a predetermined time after connecting the mobile terminal to the audio output device using the first profile.