How to add new button to UI which should be enabled when a code review is accepted

How to add new button to UI which should be enabled when a code review is accepted. Is there any plugin template to create this easily.