To restore a contract simply click on "Show remote contracts" in the contract overview, then click on the desired contract to get to the contract details and activate your contract with the toggle button "Remove contract". The inactivity of your contract will then be deactivated again.