code refactoring: extract method
"unselect all" had stopped working
[install] add a task to remove a possible symlink before installing
mainly some reformatting