Set app permissions before your mobile tests.
Recent revisions are kept. Restoring one creates a new revision.