@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_setting);
    userPrefs = new UserPrefs(SettingActivity.this);

    verticalWrite.setChecked(userPrefs.getVerticalWrite());
  }
 @OnCheckedChanged(R.id.vertical_write)
 void chooseVerticalWrite() {
   userPrefs.setVerticalWrite(verticalWrite.isChecked());
 }