Added setRightBarButtonItem
Added support for attributedText