If you already had avast 4.8 installed and installed 5.0 over the top of it, then it will retain the registration information from 4.8 so it can be used in 5.0.
So you shouldn't need to register and nothing to fix. Your copy is registered for another 5 months, I guess that was what remained of the 4.8 registration period.