compartmentalize
verb (used with object)
to divide into separate and isolated categories, sections, areas, or compartments.
Used to describe an action that was ongoing continuously in the past up until another past event interrupted it.