add id to prefwindow