changed start and stop of the timer

Timer now starts and stops with signals