Move the declaration of `updateTestListHeight` into this "if" body as well, as it's not used for HTML apps.