Fixed readjustment of buttons