library: don't remove the source if the user has changed his mind
Merge pull request #5753 from Montellese/fix_remove_source_cancel

library: don't remove the source if the user has changed his mind