add templateSelected option