Added settings window with device selection