add signal to add time in the main windows