secondsDifference was wrong calculated

The time in the log was wrongly declared or calculated. Calculation is fixed to show the correct value (seconds since last registration).