Controll of the time repaired
Saving to MySQL db added