fix changing lifetime settings
Merge pull request #74 from opentechinstitute/lifetime-change

fix changing lifetime settings. Works fine, tested by @jheretic.