Supports now values of type BaseDO.
Code improved (initTeamCalPicker).