Add a timer function that update a badge text on midnight of every day