Fix handling of backspace key press

Change-Id: I5f3aca27d1e03636dfcda1d5204abd9c7a4b0ed9
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>