Helper refactoring
Data refactoring
also time added to logging
and confirmation dialog on clearing notification added