modifed for iPad compatibility
add delegate method which is called when user doesnt allow library access