Fix a crash on user clicking the trust button