added text buttons support in bars