Only store the selected entry when there is something selected