Ability to delete activities

Now it is possible to delete activities.