Turn button off in a thread

Prevents the web request from blocking