thread progress and disable button