fine-tuned agendas logic in groups view and also added margin after each item
updated functions related to status durations... seem to work