Fix chooseTime