New apps make your smartphones smarter as you get drunker