fix typo in refreshScreen method