Move refresh device list action to Window class.