Added disabled state to add thread.