Adapt image/tooltip change to button

Also fix some missbehavour of the button. still a bit glitchy, but works
in most cases.