on select of tool, invert image