filter installed and not-installed apps properly