Disabling button for long running task.