BZ-1145631: fixed ArrayIndexOutOfBoundsException after adding/hiding columns to a table

...umns to a table

- Fixed Reset button functionallity