Create active state for table row