Change select functionality