add modelview databinding,change showbyconfigs logic