Updated widget painting checks, use android UA string by default