logs start reason (boot, user launch);
dbHelper fix: no id returned when details row already exists;
dbHelper fixes and improvements;