Added support for default font size and fix legacy code for default font

Added default font size support (user can edit it in settings)
Fix legacy code for default font in settings