Update process icon on window switch