Modify select event