Consider the following image.
When the battery is connected then current starts flowing through the primary cicuit and magnetic flux changes through the coil, this causes electricity to be induced in the secondary coil. Now from Lenz's law, we know that the induced current in the secondary coil would flow in such a way so as to oppose the magnetic field created by the primary coil and thus there is a slight decrease in the flux through the primary coil which would in turn increase the emf across the primary coil and thus create higher amount of electricity . Where is the flaw in my argument ?