Hello Milan,
If the car restarts instantly by turning the ignition off and back on again, then it would be well worth investigating/ changing the ignition switch. No more than a guess, if comprehensive diagnostics hasn’t shown anything.
Kind regards,
Gareth.