Don't set cycle duration in stone

Once the cycle duration was set, it couldn't be changed later. Maybe this isn't the best fix, but it does work.
Merge pull request #1 from jeromegn/patch-1

Don't set cycle duration in stone