Fixed backspace behaviour and added delete key
Pressing backspace still deleted the last character of the name