Added canOpenURL verification