The registration is for 1 year and you need to re-register.

The key (excuse the pun) is which way did you register, from the avast web site and get an email with the registration key or via the avastUI (user interface) ?

If the former you need to have entered that key of the trial period is 30 days.

If the latter then check your system date, especially the month and year, adjust if required.