In the dark the aquatic plant won't do photosynthesis. Instead it will do cellular respiration in which it will produce CO2. Therefore after 24 hours of letting the plant in the dark introducing Bromothymol in the solution will cause it to turn yellow.