corrects the appearence of the button