Deactivates remove and accrodion functions