made rows bindable and cleaned up setting of options