EmailAddress should not change even if Firstname and LastName are changed


My issue is when user changes his firstname and lastname, defaultemailaddress is getting changed. I removed overwrite checkbox and added 

If Not $[Isloaded]:Bool$ Then

'my code to generate emailaddress

End If

as suggested in below link

still the email address is getting changed. Please suggest.