desktop: fixed bug where menu's Rename Device option got incorrectly disabled