1. A method comprising: placing, by an operating system (OS) executed by a processing device, a pointer to a context of a first application in a history context of a plurality of the applications in a direct interface array (DIR) of the OS in view of an indication of a switch from an interface of the first application to an interface of a second application of the plurality of applications; storing, by the OS, a context of the second application in the DIR in view of an indication of a closing of the interface of the second application, wherein the second application is closed in a foreground of the OS and is executing in a background of the OS; moving, by the OS, the pointer from the context of the first application to the context of the second application in the history context of the DIR; and providing, by the OS, the interface of the second application in the foreground of the OS upon a first activation of a global back function.