Update MyActivity.java

when pressing backspace, the whole span should be deleted. The new code added to onTextChanged does that.