minor fix and cleaning in AICalsPrefItem