Added delete button on edit intervals. Changed adding and deleting elements to not change activites but to change the list of items