Task switching (psychology)
Task switching, or set-shifting, is an executive function that involves the ability to unconsciously shift attention between one task and another. In contrast, cognitive shifting is a very similar executive function, but it involves conscious (not unconscious) change in attention.
Source: Wikipedia — Task switching (psychology) (CC BY-SA 4.0)