The proof of the central limit theorem for theta sums