Make selector disappear after being touched/clicked. Removed unused code