Changed all the font size to dip, and some code cleaning