Ayr United boss Scott Brown says his side showed character despite their Scottish Cup defeat at Rangers.