optimized imports in KLTMainActivity.java
added mode in Preference and the corresponding setter as button in main activity