Hi Markus,
That option is disabled because the startup files re already included when the project is created:

I would recommend you to create a new project, build it for flash and see if it is working correctly. After that, start making the changes from your other project to see which configuration is causing the problems.
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer