Added function to delete timeline item