Adds completion block to permissions view controller
Fixes import statements for use as static library