Delete redundant TextField creation code