Fixed sourceSelected event dispatch and return value