refactor appsetting binding with mvvm