Yes, a permit is needed. Proper wire size and types, proper connections and wiring methods are critical to your fire and electrocution protection. We recommend you to employ a licensed professional for this work if you are not certain of your abilities in this field. 

SAFETYFIRST - Some people with knowledge and experience can safely change minor electrical components. If you don't have knowledge of lockout/tagout safety procedures, you should not be touching electrical circuits.