Add an option to record one window only