clean the screen, and setting keys up/down