Added the code for continuousButton

on behave of Nicolas and Sanju