This logic prevents the button from ever being re-enabled again. E.g.,

1. Open the local editor. Observe the button is initially disabled
2. Move the cursor left via arrow keys. Observe the button becomes enabled
3. Select the image. Observe the button becomes disabled
4. Select some text. Observe the button is still disabled.