[fix] Fixing typo in function name

@stulees can you do a quick review of this? I just noticed this typo and the widget is not really working correctly at the moment. Thanks!

However, I do have to note that widget-common has add**CSS**Rules and getFont**Css**Style. Maybe we should fix this to have consistent naming.