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