Revert "Quick fix to hide stats table when clicking table button"

This reverts commit fb629e5c7a4b4ae648b919e235401cb2e13fedad.