Setbg now checks when the date changes and automatically recomputes the