"Edit plan settings" opens every time I press enter

You most likely opened the Windows Mobility Center on accident with ⊞ Win+X.

The Enter key will open the Power Options menu while the Mobility Center window is focused. The key should function normally after closing the window.

Windows Mobility Center

  • Source: Microsoft Community Forum

To clarify, pressing ⊞ Win+X will only open the Mobility Center on Windows 7. The shortcut was changed in Windows 8 and 10 to open the Power User Menu instead.