Added auto select on click