SetPenaltyApplicationDisplay and SetEmergency are now called once only
Correction of a mistake in the reset of TVM aspect
Code simplified