fixed font size and closing of the window on Android