Avoid running queries on load

I made an app where one uploads a csv and then on a click there would be a bulk insert into the database. But the query gets triggered on load although I have disabled this under "Advanced" tab and thus resulting in empty csv being uploaded to my database.

How do I fix this / why does this happen?

Is it possible you can add screenshots of both the General and the Advanced tabs?

Sorry my bad. New to retool. One of the queries was not set to "run when manually triggered". Apologies. Its fixed now