Calculate button appearance depending on thread state, not progress bar