added briar set text and some more iOS 7 compat changes