Android detection problem fix

Android was not properly detected: Android can't be isMobileSafari, so it needs to be outside of the Safari test.