You are fine. Air is perfectly fine at the start of fermentation. You obviously want to keep anything from falling in the beer, but a few seconds to adjust the airlock is no worry.
+1 on sanitizer or vodka in the airlock. 99% of the time, it really won't matter, but a quick temp drop could make the airlock flow backwards. If that happens, the sanitizer/vodka will keep you safe.