Text this: Understanding the Effect of Acid-Base Equilibria in Ligand Exchange on the Overall Quality of Inorganic Perovskite Nanocrystals and Light-Emitting Devices.