Callback added to permission request method