How to create, edit and delete activities with the scheduler