yes i set them before installing them, i was also told to try letting it idle for 30 to 60 seconds before shutting it down that make any sense to you ?
I bet this is one if not the main problem, the valves aren't in adjustment, and you should check every year anyways, the do get loose which cause this and mainly a hard starting issue
More often than not, a "backfire" when shutting down is caused by glowing carbon in the exhaust system (piston, head, ex port, pipe, and muffler). As you turn the ignition off, and as the engine coasts to a stop, it is still taking in fuel and the unburned fuel is exiting out and into your muffler. The muffler "might" have glowing red hot carbon in it and a backfire is a result. Also check your exhaust manifold gaskets which might allow air to enter making a backfire even more prevelant.