fix the fonts and template of activity