Working on select and deselect