Fixed: selected classes not marked in popup (fixes #19)