1
Open the Settings App.
Go to the activation settings.
Select Troubleshoot, then select 'I changed my hardware'.
On the resulting list, you should find the previously activated device, select that to move the licence to the new hardware.
2
If that process is not successful, try the process provided on this link.