I have a dag and drop two functions on Add and Remove. Both are called at the same time as I switch from one to the other and reverse. How do I know when one function is cal