Fixed a bug in preserving the selected Category in DNSManager.