Moved calenderUtil, added preferences