Fix button actions.