Changing Visit Assignment Handler in RefrenceApp 2.7

Tags: #<Tag:0x00007f01bc214e80> #<Tag:0x00007f01bc214c00>

Hello Community, Am trying to change my visits.assignmentHandler Global Property from visits.assignmentHandler = org.openmrs.module.emrapi.adt.EmrApiVisitAssignmentHandler to visits.assignmentHandler = org.openmrs.api.handler.ExistingOrNewVisitAssignmentHandler but everytime I restart the OpenMRS Reference App 2.7 it resets the value back to the EMRApiVisitAssignmentHandler. What do I do?

You could change the emrapi module to set it only if it does not yet have a value: https://github.com/openmrs/openmrs-module-emrapi/blob/master/api/src/main/java/org/openmrs/module/emrapi/EmrApiActivator.java#L146