applyPermission and getPermission changes
applyPermissions done