Refactoring DevicePopup: extracting specific behavior (like value bounds) to ScalePopup. Scale calling ScalePopup.