fixed the region selection and added a feature

this pull request fixes the bug with the multi-region select and adds a feature of default row or column, depending on the selection