fix wrong appid.

app like baidu-music get wrong appid, because the window title is passed to
filter instead of wm instance name.