Add appointment done, working on change and remove appointment
Fixed compatibility to new database, please migrate to new database