There ae generally two thermostatic devices fitted to this dishwasher.
1) resetable 2) non resetable.
If you have changed the heater and it still doesnt work check both of the devices. Both of these control the heater 1) is designed temporarily turn off the heater whilst the other blows...