updated delete event, added delete task and item

Problem with deleting things, the way we keep task and event ids are in order and when we get them all we just iterate through the list from 0 to n, if we delete an id in the middle there will be an error.