fix bug in pie chart sorting
fix bug in day categorization (days wrong colors because of timezone issue)