avoiding duplicated DB-Error in second layer

### Description
o Transaction ID for ontimeinterval
o LM_I for every database operation
o Avoided repeating 'Database Error' in second call-layer

In addition. Is this the right place to put the "LM_I transaction ward"? I mean, maybe it is better to put it just before getting the transaction Id, "surrounding" the doNotification() call in around line 130.