Remove unused var
Pass in whenSelected for visits controller