mark already selected packages when reopening package selector