Fixed enabling of hardware button.