Called by the framework when the global font has been changed.
This function is called by the framework when the global font has been changed. Override it in a derived class in order to update a font used to display button's text.