added function: turn red on approching due date