Tweak with waiting for key pressed