Capillary-Assisted Monitoring of Milk Freshness via a Porous Cellulose-Based Label with High pH Sensitivity

A cellulose-based matrix for monitoring milk freshness (MF) was produced from rice straw particles (RSPs) in a 0.125–0.150 mm that was bis-quaternized to attach bromocresol purple (BP) as a sensor. Under alkali conditions, the obstinate structure of the rice straw had opened, thereby improving the accessibility of the cellulose. Bis-quaternization created more adsorption sites for BP. The maximum adsorption capacity was 97.68 mg/g. The sensors were interwoven with cellulosic fibers to form the cellulose-based label with a relatively loose three-dimensional structure via hydrogen bonds. As the proportion of BP-BCRPs was increased from 10% to 40%, the air permeability of the label increased from 3.76 to 15.01 mm/s, which increased the response to the tested gases (10.12 s for 1 mL of acetic acid). The intelligent label exhibited excellent sensitivity at pH values of 3–9 with highly saturated color changes. During the storage period, the label color shifted from blue-purple to yellow as acidity was increased from 17.24 to 19.8 °T due to capillarity action, providing a timely warning to consumers. The prepared colorimetric porous intelligent cellulose-based label is suitable for monitoring of MF.


Introduction
Milk is composed of~87% water, the fat-soluble vitamins A, D, E, and K, proteins (primarily casein and lactalbumin), carbohydrates (primarily lactose), and minerals (including calcium and phosphorus) [1][2][3]. However, milk is highly perishable because of microbial activity and oxidation of proteins, and drinking low-quality milk may cause immeasurable safety risks [4]. Traditional tests of MF consisting of physical-chemical methods ("clot on boiling", acidity, methylene blue tests, and fatty acid) and microbial growth assays are highly precise, but they require analytical equipment, trained technicians, and time. Particularly, the microbial growth assays need a long incubation period (12 h) [5,6]. Hence, a rapid, sensitive, and simple method is urgently needed to assess MF. In recent years, electrical conductivity is used to provide milk freshness information due to its rapidity and accuracy. It gradually increased from 0.505 to 0.610 S/m during 42 days at 5 • C and promptly increased from 0.708 to 1.195 S/m during 30 days at 20 • C, proving the prospect of electrical conductivity for rapid detection of the MF during storage [6]. However, the electrical conductivity measurement system is costly which limited the further popularization to the common people.
Intelligent labels can convey instant freshness information to consumers via visual color changes [7]. In fact, the bacteria in milk ferment carbohydrates to produce lactic acid which causes a gradual and slight decrease in pH [5,8]. Thus, the labels to assess MF via changes to pH are preferred. Ma et al. developed an intelligent film to monitor MF composed of tara gum, cellulose nanocrystals, and grape skin extract, where the color of the intelligent film changed from yellow to darker yellow and red as an indicator of milk spoilage [9]. In addition, Li et al. developed a colorimetric active double-layer film to N -tetramethyl ethylenediamine while stirring for 3 h at 65 • C. Afterward, the suspension was filtered and washed with ethanol (~150 mL) and water (~150 mL). Then, 40 mL of dimethyl carbonate was added, and the mixture was stirred at a speed of 500 r/min for 1 h at 80 • C. Finally, the prepared BC-RSPs were thoroughly washed with water until the pH of the filtrate was around 7.

Adsorption Experiments
The effects of adsorbent dosage and adsorption time on adsorption capacity in 0.001 M alkaline solution (100 mg/L) were evaluated. Briefly, different amounts of BC-RSPs were added to 50 mL of BP/NaOH solution while stirring at 150 rpm at various temperatures until the adsorption reached an equilibrium. After filtration, the absorption of the supernatant was measured at 375.8 nm with an ultraviolet-visible spectrophotometer (UV-2600; Shimadzu Corporation, Kyoto, Japan) and a standard curve of BP in 0.001 M NaOH solution was generated (y = 0.0159x + 0.0184; R 2 = 0.995). The adsorption capacity (Q t ) was calculated as where A i and A t (mg/L) are the concentrations of BP in the NaOH solution at the initial and final times (i and t, respectively), m (g) is the amount of BC-RSPs, and V (mL) is the volume of the BP/NaOH solution.

Preparation of the Cellulose-Based Label
The intelligent cellulose-based label was prepared via the traditional papermaking method. Specifically, the rice straw cellulose fibers were cut into different beating degrees (30,40, and 50 • SR), then mixed with BP-BCRPs in different mass ratios (9:1, 8:2, 7:3, and 6:4) in a speed of 700~800 r/min using a fiber disintegrator (GBJ-A, Jinan, China). Finally, they self-assembled into the cellulose-based label with a basis weight of 60 g/m 2 assisted by a paper forming machine (ZQJ1-B-II), and dried at 105 • C for 10 min.

Characterizations
The microstructure was observed using Scanning electron microscopy (SEM, Apreo S HiVac, Thermo Scientific, MA, America. The functional group changes were researched via the Fourier transform infrared spectrometer (Nicolet iS50,Thermo fisher, Shanghai, China) at a scanning range of 500-4000 cm −1 . The elemental analysis was conducted by X-ray photoelectron spectroscopy (XPS, AXIS Ultra DLD, Kratos, Manchester, UK). The crystalline structure was studied using X-ray diffraction (XRD, D/max 2200,Rigaku Corporation, Akishima-shi, Tokyo, Japan).

Thermal Stability
The tested sample mass was 8~10 mg and was cut into pieces with a size of~4 mm 2 . The thermal stability of that was conducted via a thermogravimetric analyzer (TGA Q500: TA Instruments, New Castle, DE, USA) from 25 to 600 • C at intervals of 10 • C/min.

Mechanical Properties
The intelligent label was cut into sections of 15 × 80 mm. The thickness of the sections was measured using a film thickness tester (DC11ZXBS; Mitutoyo, Kanagawa, Japan). The tensile strength (TS) and elongation at break (EB) were assessed with an auto tensile tester (PARAM ® XLW (PC); Labthink Instruments Co., Ltd., Jinan, China) at a strain rate of 300 mm/min.

Ventilation Capacity
The intelligent label with an area of 20 cm 2 was prepared for testing the ventilation capacity (air permeability) which was conducted with a numerical air permeability tester (YG461E; Inteke Instrument Co., Ltd., Shenzhen, China), and the average of three parallel samples were obtained from each group.

Response to pH
The intelligent label was cut into circles (diameter, 15 mm) which were immersed in pH buffers for 30 s and then imaged. The chromaticity parameters were measured using a hand-held colorimeter (CM-2600d; Konica Minolta, Tokyo, Japan). The difference in color (∆E) was calculated as follows where L, a, and b are the chromaticity parameters of initial label, and L 0 , a 0 , and b 0 are the chromaticity parameters after discoloration.

Response to Acetic Acid (HAc)
The intelligent label (size, 1 × 1 cm) was adhered inside a container with a humidity of 53%. HAc at different volumes was injected using a syringe to produce an acidic environment. The discoloration time of the intelligent label was recorded, and the chromaticity parameters were measured using a hand-held colorimeter after 10 min.

Monitoring of MF
Fresh milk was purchased from a local supermarket and 10 mL aliquots were used for measurement of pH and acidity at regular intervals. The surplus milk was stored at 40 • C. The intelligent label was immersed in milk for 30 s and color changes were assessed. Meanwhile, the corresponding chromatic parameters were measured with a colorimeter.

Statistical Analysis
The samples used for the performance testing were prepared in triplicates, and the tested results were presented as their means ± standard deviations and analyzed using SPSS software (v17.0; Chicago, IL, USA) with a significant difference at p < 0.05.

Preparation of Cationic RSPs (BC-RSPs) and Adsorption of BP
The preparation of cationic RSPs is illustrated in Figure 1. The structural network of RSPs is mainly formed by cellulose, lignin, and hemicellulose. Hemicellulose combines with celluloses via hydrogen bonds to support lignin which acts as a natural adhesive. Alkali treatment removed most hemicellulose, lignin, and wax, thereby effectively improving the accessibility of cellulose [19,20]. To prepare cationic RSPs, cationic groups were introduced to the alkali-treated RSPs by crosslinking of N, N, N , N -tetramethyl ethylenediamine with epichlorohydrin [21] (Figure 1). BP is negatively charged in an alkali solution and was attached to the positively charged BC-RSPs via electrostatic forces. As seen in Figure 2, an evaluation of the effects of the adsorbent amount and adsorption time on the adsorption capacity for BP found that the adsorption temperature had no significant effect on adsorption capacity. As the adsorbent dosage increased from 100 to 500 mg, the equilibrium adsorption capacity (q e ) decreased from 97.68 to 19.87 mg/g which might be due to the limited amount of BP molecules attached to more sites, letting the adsorption capacity decrease. The adsorption capacity rapidly increased with the adsorption time. Then, the growth rate slowed until the adsorption capacity reached an equilibrium. Further increases in the adsorption time had no significant effect on the adsorption capacity because the attachment sites had been saturated [22]. BP is negatively charged in an alkali solution and was attached to the positively charged BC-RSPs via electrostatic forces. As seen in Figure 2, an evaluation of the effects of the adsorbent amount and adsorption time on the adsorption capacity for BP found that the adsorption temperature had no significant effect on adsorption capacity. As the adsorbent dosage increased from 100 to 500 mg, the equilibrium adsorption capacity (qe) decreased from 97.68 to 19.87 mg/g which might be due to the limited amount of BP molecules attached to more sites, letting the adsorption capacity decrease. The adsorption capacity rapidly increased with the adsorption time. Then, the growth rate slowed until the adsorption capacity reached an equilibrium. Further increases in the adsorption time had no significant effect on the adsorption capacity because the attachment sites had been saturated [22].

SEM Images of Fibers
Micromorphological changes were assessed by SEM. As shown in Figure 3a,a1, the surface of pristine RSPs cloaked in a layer of wax and SiO2 was rough without obvious fiber strips [23]. While the surface of alkali-treated RSPs (ATRSPs) exhibited parallel and neatly arranged fiber bundles (Figure 3b,b1) because alkali opened the obstinate structure of the RSPs by removing most of the lignin, hemicellulose, and wax layer, effectively increasing accessibility of the cellulose [24]. In addition, there were four-leaf grass-like structures (Figure 3c) on the ATRSP surface which were identified as residual silicon by energydispersive X-ray spectroscopy (Figure 3d). After bis-quaternization, the BC-RSPs exhib-  BP is negatively charged in an alkali solution and was attached to the positively charged BC-RSPs via electrostatic forces. As seen in Figure 2, an evaluation of the effects of the adsorbent amount and adsorption time on the adsorption capacity for BP found that the adsorption temperature had no significant effect on adsorption capacity. As the adsorbent dosage increased from 100 to 500 mg, the equilibrium adsorption capacity (qe) decreased from 97.68 to 19.87 mg/g which might be due to the limited amount of BP molecules attached to more sites, letting the adsorption capacity decrease. The adsorption capacity rapidly increased with the adsorption time. Then, the growth rate slowed until the adsorption capacity reached an equilibrium. Further increases in the adsorption time had no significant effect on the adsorption capacity because the attachment sites had been saturated [22].

SEM Images of Fibers
Micromorphological changes were assessed by SEM. As shown in Figure 3a,a1, the surface of pristine RSPs cloaked in a layer of wax and SiO2 was rough without obvious fiber strips [23]. While the surface of alkali-treated RSPs (ATRSPs) exhibited parallel and neatly arranged fiber bundles (Figure 3b,b1) because alkali opened the obstinate structure of the RSPs by removing most of the lignin, hemicellulose, and wax layer, effectively increasing accessibility of the cellulose [24]. In addition, there were four-leaf grass-like structures ( Figure 3c) on the ATRSP surface which were identified as residual silicon by energydispersive X-ray spectroscopy ( Figure 3d). After bis-quaternization, the BC-RSPs exhibited uniform and shallow creases, while the four-leaf grass-like silicon had disappeared

SEM Images of Fibers
Micromorphological changes were assessed by SEM. As shown in Figure 3a,a 1 , the surface of pristine RSPs cloaked in a layer of wax and SiO 2 was rough without obvious fiber strips [23]. While the surface of alkali-treated RSPs (ATRSPs) exhibited parallel and neatly arranged fiber bundles ( Figure 3b,b 1 ) because alkali opened the obstinate structure of the RSPs by removing most of the lignin, hemicellulose, and wax layer, effectively increasing accessibility of the cellulose [24]. In addition, there were four-leaf grass-like structures ( Figure 3c) on the ATRSP surface which were identified as residual silicon by energy-dispersive X-ray spectroscopy ( Figure 3d). After bis-quaternization, the BC-RSPs exhibited uniform and shallow creases, while the four-leaf grass-like silicon had disappeared ( Figure 3e,e 1 ) which may be owing to the further removal of residual silicon in the alkaline environment during bi-quaternization. In Figure 3f,f 1 , SEM images of BP-BCRPs showed more obvious shallow creases because adsorption was also conducted in an alkali solution. ( Figure 3e,e1) which may be owing to the further removal of residual silicon in the alkaline environment during bi-quaternization. In Figure 3f,f1, SEM images of BP-BCRPs showed more obvious shallow creases because adsorption was also conducted in an alkali solution.

Preparation of the Cellulose-Based Label
The RS cellulose fibers were cut into different beating degrees (30 °SR, 40 °SR, and 50 °SR) and then mixed with BP-BCRPs (adsorption capacity, 97.68 mg/g) to form the intelligent cellulose-based label via hydrogen bonding ( Figure 4a). As shown in Figure 4b, rodshaped BP-BCRPs were entangled among the cellulosic fibers to construct a porous threedimensional structure. Cross-section SEM images (Figure 4c) revealed relatively loose stacking of the layers. Capillary action of the liquid often occurred along the gaps of cellulose paper [25] that would contribute to the point-to-surface response of the label.

Preparation of the Cellulose-Based Label
The RS cellulose fibers were cut into different beating degrees (30 • SR, 40 • SR, and 50 • SR) and then mixed with BP-BCRPs (adsorption capacity, 97.68 mg/g) to form the intelligent cellulose-based label via hydrogen bonding ( Figure 4a). As shown in Figure 4b, rod-shaped BP-BCRPs were entangled among the cellulosic fibers to construct a porous three-dimensional structure. Cross-section SEM images (Figure 4c) revealed relatively loose stacking of the layers. Capillary action of the liquid often occurred along the gaps of cellulose paper [25] that would contribute to the point-to-surface response of the label.
( Figure 3e,e1) which may be owing to the further removal of residual silicon in the alkaline environment during bi-quaternization. In Figure 3f,f1, SEM images of BP-BCRPs showed more obvious shallow creases because adsorption was also conducted in an alkali solution.

Preparation of the Cellulose-Based Label
The RS cellulose fibers were cut into different beating degrees (30 °SR, 40 °SR, and 50 °SR) and then mixed with BP-BCRPs (adsorption capacity, 97.68 mg/g) to form the intelligent cellulose-based label via hydrogen bonding ( Figure 4a). As shown in Figure 4b, rodshaped BP-BCRPs were entangled among the cellulosic fibers to construct a porous threedimensional structure. Cross-section SEM images (Figure 4c) revealed relatively loose stacking of the layers. Capillary action of the liquid often occurred along the gaps of cellulose paper [25] that would contribute to the point-to-surface response of the label.

Chemical Structures
XPS and FTIR spectrums were used to elucidate the reaction mechanism during modification. From Figure 5, the FTIR spectrum of RS included characteristic peaks of cellulose, hemicellulose, and lignin. For cellulose, the peaks at 1637, 1365, 1315, 1152, and 895 cm −1 represent the adsorption of O-H and conjugation of C-O in polysaccharides, C-H deformation, CH 2 wagging, C-O-C asymmetric stretching, and CH deformation of beta-glycosidic linkages, respectively. For hemicellulose, the bands at 1730, 1461, and 810 cm −1 ascribe to C=O of the ester and acetyl groups, asymmetry of -CH 3 and CH 2 , and vibration of mannan, respectively. For lignin, the peaks at 1602, 1508, 1461, 1425, and 1234 cm −1 are contributed to C=O stretching conjugated to the aromatic ring and carboxylic groups, C=C stretching of the aromatic ring and C=O bond vibrations of the extractive compounds, C-H asymmetric deformation of methoxyl, aromatic skeletal vibrations, and OH vibrations of the guaiacyl ring, respectively [26][27][28]. After alkali treatment, the intensity of the absorption peaks of lignin and hemicellulose was greatly reduced, indicating that the alkali treatment had effectively removed lignin and hemicellulose and opened the structure. After bis-quaternization, the absorption peaks of lignin and hemicellulose had completely disappeared, and a new peak at 1461 cm −1 of the quaternary ammonium group confirmed successful bis-cationization [29]. In the FTIR spectrum of BP-BCRPs, the peak at 1339 cm −1 [30], denoting the presence of sulfonate groups, indicated successful attachment of BP.
cm represent the adsorption of O-H and conjugation of C-O in polysacc deformation, CH2 wagging, C-O-C asymmetric stretching, and CH deform glycosidic linkages, respectively. For hemicellulose, the bands at 1730, 1461 ascribe to C=O of the ester and acetyl groups, asymmetry of -CH3 and CH2, of mannan, respectively. For lignin, the peaks at 1602, 1508, 1461, 1425, and contributed to C=O stretching conjugated to the aromatic ring and carboxyli stretching of the aromatic ring and C=O bond vibrations of the extractive co H asymmetric deformation of methoxyl, aromatic skeletal vibrations, and O of the guaiacyl ring, respectively [26][27][28]. After alkali treatment, the intens sorption peaks of lignin and hemicellulose was greatly reduced, indicating treatment had effectively removed lignin and hemicellulose and opened the ter bis-quaternization, the absorption peaks of lignin and hemicellulose ha disappeared, and a new peak at 1461 cm −1 of the quaternary ammonium gro successful bis-cationization [29]. In the FTIR spectrum of BP-BCRPs, the pea [30], denoting the presence of sulfonate groups, indicated successful attachm XPS was used to determine element changes during the modification Figure 6a, RSPs mainly contained C and O (from cellulose, hemicellulose, a (from SiO2), and N which may derive from the crude protein of RS (Figure 6b the peak intensity of Si decreased due to the alkali treatment, agreeing with SEM images. In addition, the N1s peak at 399.02 eV showed that the alkali ence on crude protein (Figure 6c). After bis-quaternization, the peak intens pletely disappeared. The peak of N1s in BC-RSP could be fitted with two p eV and 402.28 eV which corresponded with nitrogen in the crude protein an nary ammonium groups, respectively [21], further confirming the successf quaternary ammonium cations onto the RSPs (Figure 6d). XPS was used to determine element changes during the modification. As shown in Figure 6a, RSPs mainly contained C and O (from cellulose, hemicellulose, and lignin), Si (from SiO 2 ), and N which may derive from the crude protein of RS (Figure 6b). For ATRSP, the peak intensity of Si decreased due to the alkali treatment, agreeing with the results of SEM images. In addition, the N1s peak at 399.02 eV showed that the alkali had no influence on crude protein (Figure 6c). After bis-quaternization, the peak intensity of Si completely disappeared. The peak of N1s in BC-RSP could be fitted with two peaks at 399.64 eV and 402.28 eV which corresponded with nitrogen in the crude protein and bis-quaternary ammonium groups, respectively [21], further confirming the successful grafting of quaternary ammonium cations onto the RSPs (Figure 6d).

Crystalline Structure and Thermal Stability
XRD, thermogravimetric analysis (TGA), and difference thermogravimetry were used to assess the crystalline structure and thermal stability. As shown in Fi RSPs exhibited a typical cellulose I structure consisting of 2θ = 14.86° (101), 2θ (002), and 2θ = 14.86° (040) [31]. The new peak at 2θ = 20.30° after alkali treatm ascribed to the cellulose II structure [32]. Alkali treatment destroyed the original crystal structure of RSPs and the molecular chain was rearranged to form a new structure. After quaternization, the crystal structure of cellulose completely shift type I to II because bis-quaternization also occurred under alkaline conditions. Th structure of the intelligent label ( Figure 7b) exhibited a typical cellulose I crystal f to the higher proportion of RS cellulose.
TGA and DTG curves of RSPs, ATRSPs, BC-RSPs, BP-BCRPs, and the intellig are shown in Figure 7c,d. Thermal degradation of RSPs included three stages. Fro temperature to 100 °C, the decrease in weight was due to the evaporation of free sorbed water. The second stage from 150 to 210 °C was characterized by pyrolysis icellulose and partial lignin. The third stage from 210 to 350 °C was ascribed to c and remaining lignin. After alkali treatment, the pyrolytic peak of hemicellulos peared, confirming the removal of almost all hemicellulose. The maximum pyroly of cellulose shifted to a higher temperature of 372.50 °C after bis-quaternizatio due to the removal of the lignin and hemicellulose, as the crystalline structure of c gradually changed from type I to II along with denser stacking of the cellulose the modification, the residual weight decreased from 28.69% to 8.59%. For BP-BC the intelligent label, the residual weight reached 9.80% due to the adsorption of B and DTG analysis confirmed improved thermal stability of BC-RSPs due to the of the lignin and hemicellulose. Notably, the change to the crystal structure im thermal stability [33].

Crystalline Structure and Thermal Stability
XRD, thermogravimetric analysis (TGA), and difference thermogravimetry (DTG) were used to assess the crystalline structure and thermal stability. As shown in Figure 7a, RSPs exhibited a typical cellulose I structure consisting of 2θ = 14.86 • (101), 2θ = 21.93 • (002), and 2θ = 14.86 • (040) [31]. The new peak at 2θ = 20.30 • after alkali treatment was ascribed to the cellulose II structure [32]. Alkali treatment destroyed the original ordered crystal structure of RSPs and the molecular chain was rearranged to form a new ordered structure. After quaternization, the crystal structure of cellulose completely shifted from type I to II because bis-quaternization also occurred under alkaline conditions. The crystal structure of the intelligent label ( Figure 7b) exhibited a typical cellulose I crystal form due to the higher proportion of RS cellulose.
TGA and DTG curves of RSPs, ATRSPs, BC-RSPs, BP-BCRPs, and the intelligent label are shown in Figure 7c,d. Thermal degradation of RSPs included three stages. From room temperature to 100 • C, the decrease in weight was due to the evaporation of free and adsorbed water. The second stage from 150 to 210 • C was characterized by pyrolysis of hemicellulose and partial lignin. The third stage from 210 to 350 • C was ascribed to cellulose and remaining lignin. After alkali treatment, the pyrolytic peak of hemicellulose disappeared, confirming the removal of almost all hemicellulose. The maximum pyrolysis peak of cellulose shifted to a higher temperature of 372.50 • C after bis-quaternization, likely due to the removal of the lignin and hemicellulose, as the crystalline structure of cellulose gradually changed from type I to II along with denser stacking of the cellulose. During the modification, the residual weight decreased from 28.69% to 8.59%. For BP-BCRPs and the intelligent label, the residual weight reached 9.80% due to the adsorption of BP. TGA and DTG analysis confirmed improved thermal stability of BC-RSPs due to the removal of the lignin and hemicellulose. Notably, the change to the crystal structure improved thermal stability [33].

Air Permeability and Mechanical Properties
The air permeability and mechanical properties of the cellulose-based labels with different beating degrees and BP-BCRPs addition ratios were tested. As shown in Table 1, air permeability decreased from 73.22 to 15.01 mm/s and TS increased from 7.38 to 9.87 MPa as the beating degree increased from 30 °SR to 50 °SR, as a higher beating degree improved fibrillation to form more hydrogen bonds and a denser network structure. As shown in Table 2, air permeability increased from 3.76 to 15.01 mm/s, while TS had decreased from 18.25 to 9.87 MPa as the proportion of BP-BCRPs increased from 10% to 40%, likely because the BP-BCRPs with a size of 100-120 mesh were used as the response fillers within the three-dimensional network formed by the self-assembly of long RS cellulose fibers which cannot be replaced by the interweaving of BP-BCRPs. Thus, the three-dimensional structure was loosened as the proportion of BP-BCRPs increased from 10% to 40%. 15.18 ± 0.14 b 21.63 ± 0.24 a 9.12 ± 0.18 a Data are mean ± standard deviation, and mean within different letters within the same column are significant different (p < 0.05). Table 2. Air permeability and mechanical properties of the intelligent label containing different BP-BCRP ratios.

Air Permeability and Mechanical Properties
The air permeability and mechanical properties of the cellulose-based labels with different beating degrees and BP-BCRPs addition ratios were tested. As shown in Table 1, air permeability decreased from 73.22 to 15.01 mm/s and TS increased from 7.38 to 9.87 MPa as the beating degree increased from 30 • SR to 50 • SR, as a higher beating degree improved fibrillation to form more hydrogen bonds and a denser network structure. As shown in Table 2, air permeability increased from 3.76 to 15.01 mm/s, while TS had decreased from 18.25 to 9.87 MPa as the proportion of BP-BCRPs increased from 10% to 40%, likely because the BP-BCRPs with a size of 100-120 mesh were used as the response fillers within the three-dimensional network formed by the self-assembly of long RS cellulose fibers which cannot be replaced by the interweaving of BP-BCRPs. Thus, the three-dimensional structure was loosened as the proportion of BP-BCRPs increased from 10% to 40%. 15.18 ± 0.14 b 21.63 ± 0.24 a 9.12 ± 0.18 a Data are mean ± standard deviation, and mean within different letters within the same column are significant different (p < 0.05). Data are mean ± standard deviation, and mean within different letters within the same column are significant different (p < 0.05).

Responses to pH and HAc
The response to pH is crucial to evaluate the application of an intelligent label which exhibited yellow at pH = 3~4, yellow-green at pH = 5, light cyan at pH = 5.5, dark cyan at pH = 6, baby blue at pH = 6.5, blue at pH = 7, blue-purple at pH = 8, and purple at pH = 9 ( Table 3). The chromaticity parameters of the cellulose-based label in different pH buffers are shown in Table 3. The a* value decreased from −1.35 to −3.42 as the pH value was increased from 3 to 6.5 which resulted in a shift of the color of the label to green on the red-green axis. An increase in the a* value from −1.32 to 2.64 with the further increase of pH from 7 to 9 resulted in the color changing to red on the red-green axis. The b* value decreased from 16.19 to −22.64 as the pH value increased from three to nine, showing the color of the intelligent label shifted to blue on the yellow-blue axis. The color change can be observed unaided at ∆E > 5. As shown in Table 3, ∆E was >5 at all pH values, confirming that the indicator label has the potential to monitor MF with highly saturated color changes [34]. The responses of the intelligent label to HAc are shown in Figure 8, and the color parameters are shown in Table 4. The response time decreased from 69.17 s to 10.12 s as the volume of HAc increased from 0.1 mL to 1.0 mL because the higher volume brought more HAc molecules to gather on the label surface, resulting in the label color shifting from blue to yellow. In addition, it is noted that the ∆E value gradually increased from 19.05 to 27.61 when the HAc volume increased, showing the label color change was more obvious with a higher HAc volume due to more H + .  Data are mean ± standard deviation, and mean within different letters within the same column ar significant different (p < 0.05).

Monitoring of MF
In this study, the intelligent label was used to monitor MF in response to changes i pH values of 5.2-6.8. Acidity and pH are often used to evaluate MF. As shown in Table 5 the acidity, lactic acid content, and pH of fresh milk were 17.24 °T, 0.16%, and 6.42, respec tively, as the initial label color was blue. After 4 h, the acidity and lactic acid content in creased to 18.81 °T and 0.17%, while pH decreased to 6.37, and the corresponding labe color shifted from blue to cyan. After 6 h, the milk acidity and lactic acid content reache 19.8 °T and 0.18%, close to the threshold of deterioration. At this time point, the color o the BP-BCRPs began to gradually yellow, and the cellulose-based matrix was also yellow in color due to the unique capillary action. The change in color acts as a reminder to th consumer of potential spoilage to avoid waste. After storing for 8 h, floccule formatio was observed in the milk as the acidity and lactic acid content increased to 22.77 °T and 0.2%, indicating the milk was completely spoiled. The corresponding label had changed to a distinguishable yellow. The response mechanism of BP-BCRPs to MF is illustrated i Figure 9. After immersing the label into milk, BP-BCRPs within the label sensed the pH changes around with a color change from blue-purple to yellow. The liquid spread throughout the gaps via capillarity action. These results confirmed that the intelligent la bel can track MF in real time and alert the consumer when the milk is on the verge o spoilage.  Data are mean ± standard deviation, and mean within different letters within the same column are significant different (p < 0.05).

Monitoring of MF
In this study, the intelligent label was used to monitor MF in response to changes in pH values of 5.2-6.8. Acidity and pH are often used to evaluate MF. As shown in Table 5, the acidity, lactic acid content, and pH of fresh milk were 17.24 • T, 0.16%, and 6.42, respectively, as the initial label color was blue. After 4 h, the acidity and lactic acid content increased to 18.81 • T and 0.17%, while pH decreased to 6.37, and the corresponding label color shifted from blue to cyan. After 6 h, the milk acidity and lactic acid content reached 19.8 • T and 0.18%, close to the threshold of deterioration. At this time point, the color of the BP-BCRPs began to gradually yellow, and the cellulose-based matrix was also yellow in color due to the unique capillary action. The change in color acts as a reminder to the consumer of potential spoilage to avoid waste. After storing for 8 h, floccule formation was observed in the milk as the acidity and lactic acid content increased to 22.77 • T and 0.2%, indicating the milk was completely spoiled. The corresponding label had changed to a distinguishable yellow. The response mechanism of BP-BCRPs to MF is illustrated in Figure 9. After immersing the label into milk, BP-BCRPs within the label sensed the pH changes around with a color change from blue-purple to yellow. The liquid spread throughout the gaps via capillarity action. These results confirmed that the intelligent label can track MF in real time and alert the consumer when the milk is on the verge of spoilage.

Conclusions
In this study, a rapid, precise, colorimetric, cellulose-based label was prepared to monitor MF. RSPs were treated using alkali to open obstinate structures to improve the accessibility of the cellulose which was grafted with bis-quaternary ammonium salt groups to attach BP via electrostatic bonding. The maximum adsorption capacity of BP was 97.56 mg/g. The intelligent label was composed of BP-BCRPs embedded into RS cellulose paper by hydrogen bonds. The results of FTIR and XPS confirmed successful grafting of the bis-quaternary ammonium salt groups and adsorption of BP. The results of XRD and TGA confirmed the improved thermal stability of RSPs by bis-quaternization due to the shift of the crystalline form from type I to type II. More importantly, the intelligent label exhibited excellent responses to changes in pH values. For monitoring of MF, the yellow color of the intelligent label serves to warn the consumer that the milk is close to spoilage to avoid waste. Overall, the results of this study confirm that the prepared cellulose-based intelligent label is suitable to monitor MF.

Conclusions
In this study, a rapid, precise, colorimetric, cellulose-based label was prepared to monitor MF. RSPs were treated using alkali to open obstinate structures to improve the accessibility of the cellulose which was grafted with bis-quaternary ammonium salt groups to attach BP via electrostatic bonding. The maximum adsorption capacity of BP was 97.56 mg/g. The intelligent label was composed of BP-BCRPs embedded into RS cellulose paper by hydrogen bonds. The results of FTIR and XPS confirmed successful grafting of the bis-quaternary ammonium salt groups and adsorption of BP. The results of XRD and TGA confirmed the improved thermal stability of RSPs by bis-quaternization due to the shift of the crystalline form from type I to type II. More importantly, the intelligent label exhibited excellent responses to changes in pH values. For monitoring of MF, the yellow color of the intelligent label serves to warn the consumer that the milk is close to spoilage to avoid waste. Overall, the results of this study confirm that the prepared cellulose-based intelligent label is suitable to monitor MF.

Conflicts of Interest:
No conflicts of interest exist in the submission of this manuscript, and manuscript is approved by all authors for publication. I would like to declare on behalf of my coauthors that the work described was original research that has not been published previously and is not under consideration for publication elsewhere in whole or in part.