Attempt to use persitent indeces to reselect bundles
This commit just adds a bit of code that might help reselecting bundles. For now, the code added shouldn't change the behaviour of DlgBundleManager.