Make sure Button presses refresh input panel

A Button in a plugin can cause an action that may require the input panel
display to be updated.
Remove some unnecessary code