Fixed bug, now can change and remove appointment without problem