My sleep and home button are acting really strange. Sleep button randomly stops working where it wont put the phone to sleep or wake it up but if I try force restarting the phone then it still works and it also turns the phone on as well. For my home button it does delayed functions where when I double tap the home button it will open up camera but like 10 minutes later. Any help would be much appreciated. Also, I already tried factory resetting the phone but it did not really help. I do not think it is physical damage because the sleep button still works when force restarting.