attachCallbacks: now only attaching to datetimepicker if the entry is still active. Otherwise actually stopping the picker (but still creating it to populate the input field).
renderItemHTML: the input field for the date (expiry) of an inactive (completed) item is now disabled.