Fix select event to work when option is activated