[fixed] apps being not deleted after closing