remove unnecessary permission and added airplane mode