Prevent opening external browser unless user clicks the app store link.
Fixed some warnings.