method to delete apps in smartphones