Cognitive flexibility, the ability to shift plans, adapt to change, or think of alternatives, can be tough when you have…