Fix the issue when exporting after saving then edit and save again, start date/end date is not being set in the study details
Move code to parent controller

Reviewer: Tiff Go

Issue: Fix the issue on export