Hi
I had same problem when building a SOS program, some year ago. I partially solved the problem reactivating the App if some condition put it in backgroud. So home button was not working, since the active app was called in foreground again, and maybe button 3 as well...