Set active row method