ResourceManager: Extracted method to update active directories from appDelegate to ResourceManager.
AppDelegate calls the method instead of implementing it.
Bugfix for renaming packages: Renaming caused tree within package to vanish.