Sounds like you have the LED in series with the atty (battery, switch, LED, atty & back to battery). It won't work that way. Either remove the LED or wire it in parallel with the atty (you should put a resistor in series with the LED to limit the current that goes through it).