Configuration persistence. Auto end time calc.