refactor that extract method OpenURL()