Yes, please set this back to false in onsuccess and onerror. Alternatively, see if we can store the current permission value and reset to that. Not that if a timeout occurs then the permissions change will never be reset.