A system comprising an electronic device and a user input apparatus , wherein the electronic device is configured to execute a first application and controllable by the user input apparatus receiving a user input, the electronic device comprising a communication unit and the user input apparatus comprising a communication unit , wherein the communication unit of the electronic device and the communication unit of the user input apparatus are configured to communicate with each other; wherein the electronic device comprises a controller that is configured to: execute the first application when the electronic device is paired with the user input apparatus , generate, using information included by the executed first application , information about a second application for controlling the first application , wherein the second application is configured to be executed in the user input apparatus , wherein the information about the second application includes information about whether the second application exists, an application identifier, information about a version of the first application, and information about a source from which to download the second application, and to control the communication unit to transmit the generated information about the second application to the user input apparatus ; and wherein the user input apparatus comprises a controller that is configured to: receive through the communication unit , the generated information about the second application from the electronic device , and automatically execute the second application to control the first application based on the received generated information about the second application corresponding to the executed first application . execute the first application when the electronic device is paired with the user input apparatus , generate, using information included by the executed first application , information about a second application for controlling the first application , wherein the second application is configured to be executed in the user input apparatus , wherein the information about the second application includes information about whether the second application exists, an application identifier, information about a version of the first application, and information about a source from which to download the second application, and to control the communication unit to transmit the generated information about the second application to the user input apparatus ; and wherein the user input apparatus comprises a controller that is configured to: receive through the communication unit , the generated information about the second application from the electronic device , and automatically execute the second application to control the first application based on the received generated information about the second application corresponding to the executed first application . receive through the communication unit , the generated information about the second application from the electronic device , and automatically execute the second application to control the first application based on the received generated information about the second application corresponding to the executed first application . <EOS>