remove unused font
fix the wrong use of preference
fix possible NullPointerException