change out arbitrary characters and move next button instantantion to onSearch function so that it only appears right before parsing