The "APM Insight keys" text box, in AppFilter tab, will be disabled in the following scenarios:
The application is not selected for monitoring
The APM Insight .NET Agent windows service is running. In this case, stop the agent service and re-open the "Edit configuration" dialog.