call toggleSelected