TIMOB-7748 implement backspace functionality in cancel button

implement backspace functionality 
https://jira.appcelerator.org/browse/TIMOB-7748