Delete the old one from your account before installing avast on the new one.
Please (re)search before posting as things like this have been explained many times already.