Selected categories are now being marked as active