Fix issues arising because of changes to TimelineDialog.qml

comment portions of the code involving a time period.
controller/Event.js -> Uncomment important code