added time to check, working from alert
don't do repeating things when coming from an alert