Add sensor pin test during adv_update call. Missing enable button, and testing to see if adv_update needs to be called.