Only add the button in thread.