Added the declarations to press/release the right button.