fixed timer to work from settings.