Minor refactoring. Fixed disabling of the navigator panel if row isn't selected.