Changed multiple selection, changed to postEvent for thread safety