added the possibility to change the timer in settings