Move captcha challenge func to settings