Update DatabaseWriter.php

not sure but, $toolEntity is not set with the right couple key/value in bundle config.yml, in what concerns the icon bootstrap class used for tools