Update ref to _currentFilesList after unstage all
Keep selection on last staged/unstaged file
Fixed selection when staging/unstaging selected lines.
Check if focus is where it was initially. Fixes #1899.