Reverted back to alertLevel. Removed dependency on valid gps location and move the print gps location to a seperate function for easy future modification