Get selection and deseleciton working fully