Is there any way to stop a button's action once it has started? Thanks.