how can a developer solve sandbox problems with his apps?

I am the author of pasmontray (for which you can find source and win32 exe at sourceforge.net). As I wrote this program myself (using freepascal / Lazarus) I know that it isn’t malware.
The problem is that Avast has started automatically sandboxing it, and it won’t run in the sandbox.
How does a developer get his exe whitelisted by Avast?
How does a developer write an app so that it still works properly in a sandbox?
Why does my program cause Avast to put it in a sandbox?

AutoSandbox – why are you annoying me?
https://blog.avast.com/2012/03/20/autosandbox-why-are-you-annoying-me/