tried again to fix recording button bug