Process selection with shift in one step

Now we send one "change" event for selection with shift key for the whole operation instead of triggering such event for every input.