Don't render matches if app is not open
Revert "Remove sync.commands event"

This reverts commit 399009aa6b8afa5688434797cfc1f8c07044a534.
Trigger sync.commands instead of load.commands when adding custom command