Restore Licenses & release security deposit