Ensure the stack trace button reflects status correctly