added correct timer 
refreshing the timer after changed preferences