Now the category is not reset when editing the IP address.