(1) The defendant may move for a change of the place of trial on the ground that an impartial trial cannot be had in the county. The motion shall be made at arraignment, but it may be made thereafter for cause.(2) The motion shall be in writing and supported by affidavit which shall state evidentiary facts showing the nature of the prejudice alleged. The district attorney may file counter affidavits.(3) If the court determines that there exists in the county where the action is pending such prejudice that a fair trial cannot be had, it shall order that the trial be held in any county where an impartial trial can be had. Only one change may be granted under this subsection. The judge who orders the change in the place of trial shall preside at the trial. Preliminary matters prior to trial may be conducted in either county at the discretion of the court. The judge shall determine where the defendant, if he or she is in custody, shall be held and where the record shall be kept. If the criteria under s. 971.225(1) (a) to (c) exist, the court may proceed under s. 971.225(2).