Ok I got your update, and the button works much better.
Single press and held work good.
Double press is improved but is still an issue. It is NOT your driver. It is a case of me and the button not being synchronized.
I like that signal strength is displayed. It is currently 255 LQI, -47 RSSI
Thank you very much for writing and debugging this driver.