fixing resetting of selection end editing if onPaging returns 'stop'

Change the order of some lines to prevent resetting of `selarrrow`, `selrow` and `savedRow` if `onPaging` callback returns `'stop'`.