Fix error thrown in jenkins and updates inasafe tool bar