Text this: Development of real time experimental system for investigating photochromic response to UV irradiation