add datepicker, update message viewer and editor activities