Keep selection on last staged/unstaged file
Fixed selection when staging/unstaging selected lines.