Fixed a bug where the table could show, but the button wouldn't
know (again). Hopefully redesigned to be more robust about this.