Uninstall "Logitech app for bluetooth keyboard" completely on Macbook
There are a few things you can try:


Open Finder > Applications > Double check that the app is not on the list, if it is, delete it.
Press Cmd + Alt + Esc > Check if you find any suspect Logitech process running and kill it, then restart the computer
Reinstall the software and uninstall it again
Reinstall the software and uninstall it with AppZapper (appzapper.com)


Let me know if any of these works.