add set offline as when save appKey