Add deselected parameter for the select event