Refactor iOS textfield xpath