The app can only be deleted if it is not used in a configuration.
Click "Configurations" icon in the application list.
Then make sure the app status is "Do not install" for every configuration and click "Save".
After that, you must be able to delete the application.