Update Helpers.java

Change detect su permissions function