Move radio toolbar button logic to sugar-html-graphics library