change font and remember open files