Fixed reactivation and unlock in settings.