change look of add-on button depending on state