Chimaera,
Selecting STBY before changing squawk is good practice on the transponders generally fitted to light aircraft. However, most units installed on larger types include a feature which automatically suppresses returns for a few seconds when a new selection is made, so this sidesteps the problem without the pilot having to select STBY manually.