Removed unnecessary code in store.setDataSet function