fix but that broke background updating if refresh interval was not set