Added keyReleased event (needed to get the added text)