Fixes to get the Permissions request activity working