Implemented the methods to press/release the right button.