Adding SetDuration method in RatingSlot