Fix call blocking on API 26-27
Recent changes broke call blocking on API 26-27, because telecomManager.endCall()
requires system permission MODIFY_PHONE_STATE prior to API 28.
I also cleaned up the call blocking code a bit. Code clean up is a separate commit so you may drop it if you want.