Your electrum application is not compromised.
This is a 'bug' in an older version of the nano s firmware. It asks to confirm the change output additionally to the first output.
You can get rid of this with updating your nano s.
- Current Secure element version: 1.3.1
- Bitcoin chrome app: 1.9.12
Make sure to have a backup of your 24 word seed phrase available in case of the need of reentering your phrase.