correctedly used stateFactory for tems and sports, so state is preserved among view changes - used ngClass where needed