Adding the active state when a table view link is tapped.