Add 'Done' function, changes to enrolment_planner action algorithm