Removes keypress.