added view state, the check marks in the table will be saved on refresh