Added delete key functionality