Added inline funtion to reset selected.
(To simplify things if I change the container & key type)