FIxed deleting message when DELETE key is pressed.