Arrow On/Off via proximity sensor

Hi,

I am looking for an app to tun off/on the phone via the proximity sensor. I used Tap Tap App, but it's working very bad on the latest version of Android.
Any alternatives ? Thanks.