Display the spinning indicator after clicking the submit button only.
The plugin should send all templates to the PQ. If the plugin wasn't first to run the build_file_filter it would skip over templates not set to use the PQ, and therefore skip items that should be republished.