1. An electronic device, comprising: a display; and a processor configured to: control content to be executed by executing an application, control an operation to be executed according to an external input by executing the application, control the display to display a button for setting a media-concentrated mode, set the electronic device to be operated in the media-concentrated mode when the button is selected by a user, determine that an interruption of at least one application occurs while the application is executed, while the electronic device is operated in the media-concentrated mode, determine when to output a notification associated with the interruption, based on whether the external input is received in a predetermined, and control the display to display the notification associated with the interruption after exceeding the predetermined time, according to the determination of when to output the notification associated with the interruption, wherein the external input comprises an input related to at least one of a text, security information, health information of a user, and movement information of the user.