remove all from textfield while changing algorithm