add the key control information and fix the pause/resume feature