minor fix and cleaning in AICalsPrefItem
merge master