Red-edge effect in excited state reaction in β-naphthylamine