Fixed Restore button visible after upgrade.