save ID of focused window