Added potentio reading on button interupt.