mark selected view as selected