add selected class for designer