added selected state for selected 'plans'