Modified reloadData method to load data in buttons instead of listbox