Implemented dataview toggling in UI.