adds function to delete a range of applications