How to fix "UI not responding"

  1. My P30 can't open multiple apps and most of time will freeze.
  2. There are instances that it will display " UI not responding"
  3. Power on/off button is also not functional so a Power on/off app was installed to solve the issue.
crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0