Fix hardware buttons.