Adding support for right bar button item.