Fix for #167

A likely quickfix would be to select the first page only when the number of pages changes. 
Although this will not reset the page chosen whenever the modified data has the same number of pages as the safe copy, it would always display the table. The user can then reset the pages manually if desired.