Update the helper to work on older versions of android