Change the 'due date' text color automatically

Change the 'due date' text color automatically
fix some issues