Fixed the triggering more then once in 24 hours