Removed redundant code for "Delete" and "Delete All"